pub struct StreamingSessionMetaEvent {
pub message_id: Uuid,
pub patch: Value,
}Expand description
Session-scoped metadata patch (StreamingEvent::SessionMeta); shallow-merged
into the owning session’s metadata while the message streams.
Fields§
§message_id: UuidID of the assistant message that triggered the session update.
patch: ValuePartial session metadata to shallow-merge into session.metadata.
Trait Implementations§
Source§impl Clone for StreamingSessionMetaEvent
impl Clone for StreamingSessionMetaEvent
Source§fn clone(&self) -> StreamingSessionMetaEvent
fn clone(&self) -> StreamingSessionMetaEvent
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 StreamingSessionMetaEvent
impl Debug for StreamingSessionMetaEvent
Source§impl<'de> Deserialize<'de> for StreamingSessionMetaEvent
impl<'de> Deserialize<'de> for StreamingSessionMetaEvent
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 StreamingSessionMetaEvent
impl RefUnwindSafe for StreamingSessionMetaEvent
impl Send for StreamingSessionMetaEvent
impl Sync for StreamingSessionMetaEvent
impl Unpin for StreamingSessionMetaEvent
impl UnsafeUnpin for StreamingSessionMetaEvent
impl UnwindSafe for StreamingSessionMetaEvent
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