pub struct AssistantMessageStartData {
pub message_id: String,
pub phase: Option<String>,
}Expand description
Streaming assistant message start metadata
Fields§
§message_id: StringMessage ID this start event belongs to, matching subsequent deltas and assistant.message
phase: Option<String>Generation phase this message belongs to for phased-output models
Trait Implementations§
Source§impl Clone for AssistantMessageStartData
impl Clone for AssistantMessageStartData
Source§fn clone(&self) -> AssistantMessageStartData
fn clone(&self) -> AssistantMessageStartData
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 AssistantMessageStartData
impl Debug for AssistantMessageStartData
Source§impl<'de> Deserialize<'de> for AssistantMessageStartData
impl<'de> Deserialize<'de> for AssistantMessageStartData
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 AssistantMessageStartData
impl RefUnwindSafe for AssistantMessageStartData
impl Send for AssistantMessageStartData
impl Sync for AssistantMessageStartData
impl Unpin for AssistantMessageStartData
impl UnsafeUnpin for AssistantMessageStartData
impl UnwindSafe for AssistantMessageStartData
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