pub struct StatusDocument {
pub schema: &'static str,
pub state: &'static str,
pub checkpoint: Option<Checkpoint>,
pub differences: Vec<String>,
pub steps: Vec<ProvenStep>,
pub invalid: Option<InvalidProof>,
}Expand description
The rk.setup-status/1 document.
Fields§
§schema: &'static strAlways rk.setup-status/1.
state: &'static strabsent, compatible, stale, or invalid.
checkpoint: Option<Checkpoint>The record’s provenance, where one was read.
differences: Vec<String>Each changed contract field, where the proof is stale.
steps: Vec<ProvenStep>Each step’s recorded result, where one was read.
invalid: Option<InvalidProof>Why the file is not readable as a proof.
Implementations§
Trait Implementations§
Source§impl Debug for StatusDocument
impl Debug for StatusDocument
Auto Trait Implementations§
impl Freeze for StatusDocument
impl RefUnwindSafe for StatusDocument
impl Send for StatusDocument
impl Sync for StatusDocument
impl Unpin for StatusDocument
impl UnsafeUnpin for StatusDocument
impl UnwindSafe for StatusDocument
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