pub struct StreamingStateEvent {
pub message_id: Uuid,
pub state: Value,
}Expand description
Opaque assistant-message state patch (StreamingEvent::State); merged into
the finalized message’s metadata under state.
Fields§
§message_id: UuidID of the assistant message whose state changed.
state: ValueArbitrary state object the client maintains alongside the document.
Trait Implementations§
Source§impl Clone for StreamingStateEvent
impl Clone for StreamingStateEvent
Source§fn clone(&self) -> StreamingStateEvent
fn clone(&self) -> StreamingStateEvent
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 StreamingStateEvent
impl Debug for StreamingStateEvent
Source§impl<'de> Deserialize<'de> for StreamingStateEvent
impl<'de> Deserialize<'de> for StreamingStateEvent
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 StreamingStateEvent
impl RefUnwindSafe for StreamingStateEvent
impl Send for StreamingStateEvent
impl Sync for StreamingStateEvent
impl Unpin for StreamingStateEvent
impl UnsafeUnpin for StreamingStateEvent
impl UnwindSafe for StreamingStateEvent
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