pub struct ResponseImageGenCallPartialWsImage {
pub event: ResponseImageGenCallPartialImageEvent,
pub stream_id: Option<String>,
}Available on crate feature
response-types only.Expand description
Emitted when a partial image is available during image generation streaming.
Fields§
§event: ResponseImageGenCallPartialImageEvent§stream_id: Option<String>The WebSocket lane that emitted this event. This field is present when the originating
response.create event supplied a stream_id.
Trait Implementations§
Source§impl Clone for ResponseImageGenCallPartialWsImage
impl Clone for ResponseImageGenCallPartialWsImage
Source§fn clone(&self) -> ResponseImageGenCallPartialWsImage
fn clone(&self) -> ResponseImageGenCallPartialWsImage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for ResponseImageGenCallPartialWsImage
impl<'de> Deserialize<'de> for ResponseImageGenCallPartialWsImage
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
impl StructuralPartialEq for ResponseImageGenCallPartialWsImage
Auto Trait Implementations§
impl Freeze for ResponseImageGenCallPartialWsImage
impl RefUnwindSafe for ResponseImageGenCallPartialWsImage
impl Send for ResponseImageGenCallPartialWsImage
impl Sync for ResponseImageGenCallPartialWsImage
impl Unpin for ResponseImageGenCallPartialWsImage
impl UnsafeUnpin for ResponseImageGenCallPartialWsImage
impl UnwindSafe for ResponseImageGenCallPartialWsImage
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