pub struct ConsistencyProof {
pub first_size: u64,
pub second_size: u64,
pub proof: Vec<String>,
}Expand description
A compact RFC 9162 consistency proof (hex-encoded) that the tree of the first
first_size leaves is an exact prefix of the tree of second_size leaves.
Fields§
§first_size: u64§second_size: u64§proof: Vec<String>Trait Implementations§
Source§impl Clone for ConsistencyProof
impl Clone for ConsistencyProof
Source§fn clone(&self) -> ConsistencyProof
fn clone(&self) -> ConsistencyProof
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 Debug for ConsistencyProof
impl Debug for ConsistencyProof
Source§impl<'de> Deserialize<'de> for ConsistencyProof
impl<'de> Deserialize<'de> for ConsistencyProof
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
Auto Trait Implementations§
impl Freeze for ConsistencyProof
impl RefUnwindSafe for ConsistencyProof
impl Send for ConsistencyProof
impl Sync for ConsistencyProof
impl Unpin for ConsistencyProof
impl UnsafeUnpin for ConsistencyProof
impl UnwindSafe for ConsistencyProof
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