pub struct CheckpointRecord {
pub thread_id: String,
pub checkpoint_id: String,
pub state: Value,
pub created_at: i64,
}Expand description
A named checkpoint capturing the state of a thread at a point in time.
Fields§
§thread_id: StringID of the thread this checkpoint belongs to.
checkpoint_id: StringUnique identifier for this checkpoint within its thread.
state: ValueSerialized state snapshot stored as a JSON value.
created_at: i64Unix timestamp (seconds) when the checkpoint was created or last updated.
Trait Implementations§
Source§impl Clone for CheckpointRecord
impl Clone for CheckpointRecord
Source§fn clone(&self) -> CheckpointRecord
fn clone(&self) -> CheckpointRecord
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 CheckpointRecord
impl Debug for CheckpointRecord
Source§impl<'de> Deserialize<'de> for CheckpointRecord
impl<'de> Deserialize<'de> for CheckpointRecord
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 CheckpointRecord
impl RefUnwindSafe for CheckpointRecord
impl Send for CheckpointRecord
impl Sync for CheckpointRecord
impl Unpin for CheckpointRecord
impl UnsafeUnpin for CheckpointRecord
impl UnwindSafe for CheckpointRecord
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