pub struct ChainVerificationResult {
pub chain: Vec<Commitment>,
pub genesis: Commitment,
pub latest: Commitment,
pub length: usize,
pub contract_id: Hash,
}Expand description
Result of commitment chain verification.
Fields§
§chain: Vec<Commitment>The ordered chain of commitments (genesis → latest)
genesis: CommitmentThe genesis commitment (first in the chain)
latest: CommitmentThe latest commitment (last in the chain)
length: usizeTotal number of commitments in the chain
contract_id: HashThe contract ID that all commitments belong to
Trait Implementations§
Source§impl Clone for ChainVerificationResult
impl Clone for ChainVerificationResult
Source§fn clone(&self) -> ChainVerificationResult
fn clone(&self) -> ChainVerificationResult
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 ChainVerificationResult
impl Debug for ChainVerificationResult
Source§impl PartialEq for ChainVerificationResult
impl PartialEq for ChainVerificationResult
impl Eq for ChainVerificationResult
impl StructuralPartialEq for ChainVerificationResult
Auto Trait Implementations§
impl Freeze for ChainVerificationResult
impl RefUnwindSafe for ChainVerificationResult
impl Send for ChainVerificationResult
impl Sync for ChainVerificationResult
impl Unpin for ChainVerificationResult
impl UnsafeUnpin for ChainVerificationResult
impl UnwindSafe for ChainVerificationResult
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