pub struct MachineSnapshot {
pub snapshot_version: String,
pub plans: Vec<SealedPlan>,
pub artifacts: Vec<ArtifactRecord>,
pub base: Option<MachineBaseSnapshot>,
pub events: Vec<Event>,
/* private fields */
}Expand description
Portable, provider-neutral snapshot of canonical inputs and optional base.
Fields§
§snapshot_version: StringSnapshot schema version.
plans: Vec<SealedPlan>Sealed Plans in content-ID order.
artifacts: Vec<ArtifactRecord>Immutable Artifacts in content-ID order.
base: Option<MachineBaseSnapshot>Optional verified projection for a compacted causal prefix.
events: Vec<Event>Canonical suffix Events in admitted causal order.
Implementations§
Trait Implementations§
Source§impl Clone for MachineSnapshot
impl Clone for MachineSnapshot
Source§impl Debug for MachineSnapshot
impl Debug for MachineSnapshot
Source§impl<'de> Deserialize<'de> for MachineSnapshot
impl<'de> Deserialize<'de> for MachineSnapshot
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 MachineSnapshot
impl PartialEq for MachineSnapshot
Source§impl Serialize for MachineSnapshot
impl Serialize for MachineSnapshot
impl StructuralPartialEq for MachineSnapshot
Auto Trait Implementations§
impl Freeze for MachineSnapshot
impl RefUnwindSafe for MachineSnapshot
impl Send for MachineSnapshot
impl Sync for MachineSnapshot
impl Unpin for MachineSnapshot
impl UnsafeUnpin for MachineSnapshot
impl UnwindSafe for MachineSnapshot
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