pub struct BatchCommitment {
pub version: Version,
pub state_root: RootHash,
pub risk_root: RootHash,
pub command_mmr_root: MmrHash,
pub obligation_mmr_root: MmrHash,
pub intent_mmr_root: MmrHash,
pub batch_root: [u8; 32],
pub state_leaves_updated: usize,
pub risk_leaves_updated: usize,
}Expand description
Output of a batch commitment.
Fields§
§version: Version§state_root: RootHash§risk_root: RootHash§command_mmr_root: MmrHash§obligation_mmr_root: MmrHash§intent_mmr_root: MmrHash§batch_root: [u8; 32]§state_leaves_updated: usize§risk_leaves_updated: usizeTrait Implementations§
Source§impl Clone for BatchCommitment
impl Clone for BatchCommitment
Source§fn clone(&self) -> BatchCommitment
fn clone(&self) -> BatchCommitment
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 moreAuto Trait Implementations§
impl Freeze for BatchCommitment
impl RefUnwindSafe for BatchCommitment
impl Send for BatchCommitment
impl Sync for BatchCommitment
impl Unpin for BatchCommitment
impl UnsafeUnpin for BatchCommitment
impl UnwindSafe for BatchCommitment
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more