Enum comfyui_api::models::websocket::PreviewOrUpdate
source · pub enum PreviewOrUpdate {
Preview(Preview),
Update(Update),
}
Expand description
An enum representing a websocket message.
Variants§
Preview(Preview)
Enum variant representing an image preview.
Update(Update)
Enum variant representing an update.
Trait Implementations§
source§impl Debug for PreviewOrUpdate
impl Debug for PreviewOrUpdate
source§impl<'de> Deserialize<'de> for PreviewOrUpdate
impl<'de> Deserialize<'de> for PreviewOrUpdate
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PreviewOrUpdate
impl RefUnwindSafe for PreviewOrUpdate
impl Send for PreviewOrUpdate
impl Sync for PreviewOrUpdate
impl Unpin for PreviewOrUpdate
impl UnwindSafe for PreviewOrUpdate
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more