pub struct StreamingStatusEvent {
pub message_id: Uuid,
pub code: String,
pub detail: Option<String>,
}Expand description
Transient progress indicator (StreamingEvent::Status). Streamed to the
client for live feedback but not persisted with the finalized message.
Fields§
§message_id: UuidID of the assistant message this status pertains to.
code: StringMachine-readable status code (e.g. thinking, analyzing, searching).
detail: Option<String>Optional human-readable detail.
Trait Implementations§
Source§impl Clone for StreamingStatusEvent
impl Clone for StreamingStatusEvent
Source§fn clone(&self) -> StreamingStatusEvent
fn clone(&self) -> StreamingStatusEvent
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 StreamingStatusEvent
impl Debug for StreamingStatusEvent
Source§impl<'de> Deserialize<'de> for StreamingStatusEvent
impl<'de> Deserialize<'de> for StreamingStatusEvent
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 StreamingStatusEvent
impl RefUnwindSafe for StreamingStatusEvent
impl Send for StreamingStatusEvent
impl Sync for StreamingStatusEvent
impl Unpin for StreamingStatusEvent
impl UnsafeUnpin for StreamingStatusEvent
impl UnwindSafe for StreamingStatusEvent
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