pub struct SnapshotRun {
pub run_instance: RunInstance,
pub state_history: Vec<SnapshotRunStateHistoryEntry>,
pub attempts: Vec<SnapshotAttemptHistoryEntry>,
pub lease: Option<SnapshotLeaseMetadata>,
}Expand description
A run in the snapshot.
Fields§
§run_instance: RunInstanceThe canonical run payload.
Snapshot persistence intentionally embeds the core
RunInstance to keep
run-shape semantics anchored to the single contract source.
state_history: Vec<SnapshotRunStateHistoryEntry>Deterministic run state history entries.
attempts: Vec<SnapshotAttemptHistoryEntry>Deterministic attempt lineage entries.
lease: Option<SnapshotLeaseMetadata>Deterministic lease metadata snapshot, if any.
Implementations§
Trait Implementations§
Source§impl Clone for SnapshotRun
impl Clone for SnapshotRun
Source§fn clone(&self) -> SnapshotRun
fn clone(&self) -> SnapshotRun
Returns a duplicate of the value. Read more
1.0.0 · 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 SnapshotRun
impl Debug for SnapshotRun
Source§impl<'de> Deserialize<'de> for SnapshotRun
impl<'de> Deserialize<'de> for SnapshotRun
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 SnapshotRun
impl PartialEq for SnapshotRun
Source§impl Serialize for SnapshotRun
impl Serialize for SnapshotRun
impl Eq for SnapshotRun
impl StructuralPartialEq for SnapshotRun
Auto Trait Implementations§
impl Freeze for SnapshotRun
impl RefUnwindSafe for SnapshotRun
impl Send for SnapshotRun
impl Sync for SnapshotRun
impl Unpin for SnapshotRun
impl UnsafeUnpin for SnapshotRun
impl UnwindSafe for SnapshotRun
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