pub struct MerkleProofCompatibilityResult {
pub compatible: bool,
pub checked_entries: usize,
pub previous: NormalizedMerkleProof,
pub next: NormalizedMerkleProof,
pub previous_levels: Vec<MerkleProofLevel>,
pub next_levels: Vec<MerkleProofLevel>,
pub mismatches: Vec<MerkleProofCompatibilityMismatch>,
}Fields§
§compatible: bool§checked_entries: usize§previous: NormalizedMerkleProof§next: NormalizedMerkleProof§previous_levels: Vec<MerkleProofLevel>§next_levels: Vec<MerkleProofLevel>§mismatches: Vec<MerkleProofCompatibilityMismatch>Trait Implementations§
Source§impl Clone for MerkleProofCompatibilityResult
impl Clone for MerkleProofCompatibilityResult
Source§fn clone(&self) -> MerkleProofCompatibilityResult
fn clone(&self) -> MerkleProofCompatibilityResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for MerkleProofCompatibilityResult
impl Default for MerkleProofCompatibilityResult
Source§fn default() -> MerkleProofCompatibilityResult
fn default() -> MerkleProofCompatibilityResult
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MerkleProofCompatibilityResult
impl<'de> Deserialize<'de> for MerkleProofCompatibilityResult
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
Source§impl PartialEq for MerkleProofCompatibilityResult
impl PartialEq for MerkleProofCompatibilityResult
Source§fn eq(&self, other: &MerkleProofCompatibilityResult) -> bool
fn eq(&self, other: &MerkleProofCompatibilityResult) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for MerkleProofCompatibilityResult
impl StructuralPartialEq for MerkleProofCompatibilityResult
Auto Trait Implementations§
impl Freeze for MerkleProofCompatibilityResult
impl RefUnwindSafe for MerkleProofCompatibilityResult
impl Send for MerkleProofCompatibilityResult
impl Sync for MerkleProofCompatibilityResult
impl Unpin for MerkleProofCompatibilityResult
impl UnsafeUnpin for MerkleProofCompatibilityResult
impl UnwindSafe for MerkleProofCompatibilityResult
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