pub struct MerkleProofCompatibilityMismatch {
pub kind: String,
pub level: Option<usize>,
pub position: Option<i64>,
pub previous_index: Option<usize>,
pub next_index: Option<usize>,
pub previous_position: Option<i64>,
pub next_position: Option<i64>,
pub previous_hash: Option<String>,
pub next_hash: Option<String>,
pub message: String,
}Fields§
§kind: String§level: Option<usize>§position: Option<i64>§previous_index: Option<usize>§next_index: Option<usize>§previous_position: Option<i64>§next_position: Option<i64>§previous_hash: Option<String>§next_hash: Option<String>§message: StringTrait Implementations§
Source§impl Clone for MerkleProofCompatibilityMismatch
impl Clone for MerkleProofCompatibilityMismatch
Source§fn clone(&self) -> MerkleProofCompatibilityMismatch
fn clone(&self) -> MerkleProofCompatibilityMismatch
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 MerkleProofCompatibilityMismatch
impl Default for MerkleProofCompatibilityMismatch
Source§fn default() -> MerkleProofCompatibilityMismatch
fn default() -> MerkleProofCompatibilityMismatch
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MerkleProofCompatibilityMismatch
impl<'de> Deserialize<'de> for MerkleProofCompatibilityMismatch
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 MerkleProofCompatibilityMismatch
impl PartialEq for MerkleProofCompatibilityMismatch
Source§fn eq(&self, other: &MerkleProofCompatibilityMismatch) -> bool
fn eq(&self, other: &MerkleProofCompatibilityMismatch) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for MerkleProofCompatibilityMismatch
impl StructuralPartialEq for MerkleProofCompatibilityMismatch
Auto Trait Implementations§
impl Freeze for MerkleProofCompatibilityMismatch
impl RefUnwindSafe for MerkleProofCompatibilityMismatch
impl Send for MerkleProofCompatibilityMismatch
impl Sync for MerkleProofCompatibilityMismatch
impl Unpin for MerkleProofCompatibilityMismatch
impl UnsafeUnpin for MerkleProofCompatibilityMismatch
impl UnwindSafe for MerkleProofCompatibilityMismatch
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