pub struct ResponseWsCompleted {
pub event: ResponseCompletedEvent,
pub stream_id: Option<String>,
}Available on crate feature
response-types only.Expand description
Emitted when the model response is complete.
Fields§
§event: ResponseCompletedEvent§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 ResponseWsCompleted
impl Clone for ResponseWsCompleted
Source§fn clone(&self) -> ResponseWsCompleted
fn clone(&self) -> ResponseWsCompleted
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 Debug for ResponseWsCompleted
impl Debug for ResponseWsCompleted
Source§impl<'de> Deserialize<'de> for ResponseWsCompleted
impl<'de> Deserialize<'de> for ResponseWsCompleted
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
Source§impl PartialEq for ResponseWsCompleted
impl PartialEq for ResponseWsCompleted
Source§impl Serialize for ResponseWsCompleted
impl Serialize for ResponseWsCompleted
impl StructuralPartialEq for ResponseWsCompleted
Auto Trait Implementations§
impl Freeze for ResponseWsCompleted
impl RefUnwindSafe for ResponseWsCompleted
impl Send for ResponseWsCompleted
impl Sync for ResponseWsCompleted
impl Unpin for ResponseWsCompleted
impl UnsafeUnpin for ResponseWsCompleted
impl UnwindSafe for ResponseWsCompleted
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