pub struct ProvenanceEntry {
pub sequence: u64,
pub operation: String,
pub inputs: Value,
pub state_before: BTreeMap<String, Value>,
pub state_after: BTreeMap<String, Value>,
pub changes: Vec<StateChange>,
pub postconditions_verified: bool,
pub invariants_verified: bool,
}Expand description
A single entry in the provenance log — records one state transition
Fields§
§sequence: u64Sequential operation number (0-indexed)
operation: StringName of the operation that caused this transition
inputs: ValueInput parameters as JSON
state_before: BTreeMap<String, Value>State snapshot before the operation
state_after: BTreeMap<String, Value>State snapshot after the operation
changes: Vec<StateChange>Fields that changed
postconditions_verified: boolWhether all postconditions held
invariants_verified: boolWhether all invariants held
Trait Implementations§
Source§impl Clone for ProvenanceEntry
impl Clone for ProvenanceEntry
Source§fn clone(&self) -> ProvenanceEntry
fn clone(&self) -> ProvenanceEntry
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 ProvenanceEntry
impl Debug for ProvenanceEntry
Source§impl<'de> Deserialize<'de> for ProvenanceEntry
impl<'de> Deserialize<'de> for ProvenanceEntry
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 ProvenanceEntry
impl PartialEq for ProvenanceEntry
Source§impl Serialize for ProvenanceEntry
impl Serialize for ProvenanceEntry
impl StructuralPartialEq for ProvenanceEntry
Auto Trait Implementations§
impl Freeze for ProvenanceEntry
impl RefUnwindSafe for ProvenanceEntry
impl Send for ProvenanceEntry
impl Sync for ProvenanceEntry
impl Unpin for ProvenanceEntry
impl UnwindSafe for ProvenanceEntry
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