pub struct ProofStep {
pub rule: String,
pub premises: Vec<usize>,
pub conclusion: String,
pub formula: Option<VerifyExpr>,
pub claim_binding: u64,
}Expand description
A single step in the proof.
Fields§
§rule: String§premises: Vec<usize>§conclusion: String§formula: Option<VerifyExpr>Structured formula established by this step (None for legacy certificates).
claim_binding: u64Digest binding this step to its claim. Zero for legacy certificates.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ProofStep
impl<'de> Deserialize<'de> for ProofStep
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 ProofStep
impl RefUnwindSafe for ProofStep
impl Send for ProofStep
impl Sync for ProofStep
impl Unpin for ProofStep
impl UnsafeUnpin for ProofStep
impl UnwindSafe for ProofStep
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