pub struct CommitState(pub CommitHash, pub CommitProof);Expand description
Commit state combines the last commit hash with a commit proof.
Tuple Fields§
§0: CommitHash§1: CommitProofTrait Implementations§
Source§impl Clone for CommitState
impl Clone for CommitState
Source§fn clone(&self) -> CommitState
fn clone(&self) -> CommitState
Returns a copy 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 CommitState
impl Debug for CommitState
Source§impl Default for CommitState
impl Default for CommitState
Source§fn default() -> CommitState
fn default() -> CommitState
Returns the “default value” for a type. Read more
Source§impl PartialEq for CommitState
impl PartialEq for CommitState
impl Eq for CommitState
impl StructuralPartialEq for CommitState
Auto Trait Implementations§
impl Freeze for CommitState
impl RefUnwindSafe for CommitState
impl Send for CommitState
impl Sync for CommitState
impl Unpin for CommitState
impl UnwindSafe for CommitState
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