pub struct ThreadSnapshot {
pub version: u64,
pub messages: Vec<ConversationMessage>,
pub active_run: Option<ActiveRun>,
pub pending_interaction: Option<PendingInteraction>,
pub run_outcomes: Vec<RunOutcome>,
}Fields§
§version: u64§messages: Vec<ConversationMessage>§active_run: Option<ActiveRun>§pending_interaction: Option<PendingInteraction>§run_outcomes: Vec<RunOutcome>Trait Implementations§
Source§impl Clone for ThreadSnapshot
impl Clone for ThreadSnapshot
Source§fn clone(&self) -> ThreadSnapshot
fn clone(&self) -> ThreadSnapshot
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 ThreadSnapshot
impl Debug for ThreadSnapshot
Source§impl<'de> Deserialize<'de> for ThreadSnapshot
impl<'de> Deserialize<'de> for ThreadSnapshot
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 ThreadSnapshot
impl PartialEq for ThreadSnapshot
Source§impl Serialize for ThreadSnapshot
impl Serialize for ThreadSnapshot
impl StructuralPartialEq for ThreadSnapshot
Auto Trait Implementations§
impl Freeze for ThreadSnapshot
impl RefUnwindSafe for ThreadSnapshot
impl Send for ThreadSnapshot
impl Sync for ThreadSnapshot
impl Unpin for ThreadSnapshot
impl UnsafeUnpin for ThreadSnapshot
impl UnwindSafe for ThreadSnapshot
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