Struct sos_sdk::commit::CommitPair
source · pub struct CommitPair {
pub local: CommitProof,
pub remote: CommitProof,
}Expand description
Pair of commit proofs.
Fields§
§local: CommitProofCommit proof for a local commit tree.
remote: CommitProofCommit proof for a remote commit tree.
Trait Implementations§
source§impl Debug for CommitPair
impl Debug for CommitPair
source§impl Hash for CommitPair
impl Hash for CommitPair
source§impl PartialEq for CommitPair
impl PartialEq for CommitPair
source§fn eq(&self, other: &CommitPair) -> bool
fn eq(&self, other: &CommitPair) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for CommitPair
impl StructuralEq for CommitPair
impl StructuralPartialEq for CommitPair
Auto Trait Implementations§
impl RefUnwindSafe for CommitPair
impl Send for CommitPair
impl Sync for CommitPair
impl Unpin for CommitPair
impl UnwindSafe for CommitPair
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