pub enum ArchiveEvent {
Human {
text: String,
direct: bool,
},
Agent(AgentEvent),
}Expand description
One archived conversation record: a public human message or a normalized agent event, in journal order.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ArchiveEvent
impl Clone for ArchiveEvent
Source§fn clone(&self) -> ArchiveEvent
fn clone(&self) -> ArchiveEvent
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 ArchiveEvent
impl Debug for ArchiveEvent
Source§impl<'de> Deserialize<'de> for ArchiveEvent
impl<'de> Deserialize<'de> for ArchiveEvent
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 ArchiveEvent
Source§impl PartialEq for ArchiveEvent
impl PartialEq for ArchiveEvent
Source§impl Serialize for ArchiveEvent
impl Serialize for ArchiveEvent
impl StructuralPartialEq for ArchiveEvent
Auto Trait Implementations§
impl Freeze for ArchiveEvent
impl RefUnwindSafe for ArchiveEvent
impl Send for ArchiveEvent
impl Sync for ArchiveEvent
impl Unpin for ArchiveEvent
impl UnsafeUnpin for ArchiveEvent
impl UnwindSafe for ArchiveEvent
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