pub enum ConversationEvent {
SnapshotUpdated(SnapshotUpdatedEvent),
CatalogChanged(CatalogChangedEvent),
QueueChanged(QueueChangedEvent),
SessionPolicyChanged(SessionPolicyChangedEvent),
AssistantPreview(AssistantPreviewEvent),
RunProgress(RunProgressEvent),
RunSystemFailed(RunSystemFailedEvent),
}Variants§
SnapshotUpdated(SnapshotUpdatedEvent)
CatalogChanged(CatalogChangedEvent)
QueueChanged(QueueChangedEvent)
SessionPolicyChanged(SessionPolicyChangedEvent)
AssistantPreview(AssistantPreviewEvent)
RunProgress(RunProgressEvent)
RunSystemFailed(RunSystemFailedEvent)
Implementations§
Source§impl ConversationEvent
impl ConversationEvent
pub fn surface_id(&self) -> &str
pub fn event_type(&self) -> &'static str
Trait Implementations§
Source§impl Clone for ConversationEvent
impl Clone for ConversationEvent
Source§fn clone(&self) -> ConversationEvent
fn clone(&self) -> ConversationEvent
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 ConversationEvent
impl Debug for ConversationEvent
Source§impl<'de> Deserialize<'de> for ConversationEvent
impl<'de> Deserialize<'de> for ConversationEvent
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
Source§impl PartialEq for ConversationEvent
impl PartialEq for ConversationEvent
Source§impl Serialize for ConversationEvent
impl Serialize for ConversationEvent
impl StructuralPartialEq for ConversationEvent
Auto Trait Implementations§
impl Freeze for ConversationEvent
impl RefUnwindSafe for ConversationEvent
impl Send for ConversationEvent
impl Sync for ConversationEvent
impl Unpin for ConversationEvent
impl UnsafeUnpin for ConversationEvent
impl UnwindSafe for ConversationEvent
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