pub enum LiveConversationEvent {
AssistantPreview(AssistantPreviewEvent),
RunProgress(RunProgressEvent),
RunSystemFailed(RunSystemFailedEvent),
}Variants§
AssistantPreview(AssistantPreviewEvent)
RunProgress(RunProgressEvent)
RunSystemFailed(RunSystemFailedEvent)
Implementations§
Source§impl LiveConversationEvent
impl LiveConversationEvent
pub fn new(metadata: LiveEventMetadata, data: LiveConversationEventData) -> Self
pub fn surface(&self) -> &ConversationSurface
pub fn event_type(&self) -> &'static str
pub fn base_snapshot_version(&self) -> u64
pub fn offset(&self) -> u64
Trait Implementations§
Source§impl Clone for LiveConversationEvent
impl Clone for LiveConversationEvent
Source§fn clone(&self) -> LiveConversationEvent
fn clone(&self) -> LiveConversationEvent
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 LiveConversationEvent
impl Debug for LiveConversationEvent
Source§impl<'de> Deserialize<'de> for LiveConversationEvent
impl<'de> Deserialize<'de> for LiveConversationEvent
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
impl Eq for LiveConversationEvent
Source§impl PartialEq for LiveConversationEvent
impl PartialEq for LiveConversationEvent
Source§impl Serialize for LiveConversationEvent
impl Serialize for LiveConversationEvent
impl StructuralPartialEq for LiveConversationEvent
Auto Trait Implementations§
impl Freeze for LiveConversationEvent
impl RefUnwindSafe for LiveConversationEvent
impl Send for LiveConversationEvent
impl Sync for LiveConversationEvent
impl Unpin for LiveConversationEvent
impl UnsafeUnpin for LiveConversationEvent
impl UnwindSafe for LiveConversationEvent
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