pub struct ThreadSnapshot {
pub metadata: Option<ThreadMetadata>,
pub events: Vec<EventEnvelope>,
pub turns: Vec<TurnRecord>,
pub item_events: Vec<ThreadItemEvent>,
pub extension_states: Vec<ExtensionStateRecord>,
}Fields§
§metadata: Option<ThreadMetadata>§events: Vec<EventEnvelope>§turns: Vec<TurnRecord>§item_events: Vec<ThreadItemEvent>§extension_states: Vec<ExtensionStateRecord>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 Default for ThreadSnapshot
impl Default for ThreadSnapshot
Source§fn default() -> ThreadSnapshot
fn default() -> ThreadSnapshot
Returns the “default value” for a type. Read more
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
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