Struct noah_api::anon_xfr::structs::MTLeafInfo
source · pub struct MTLeafInfo {
pub path: MTPath,
pub root: BLSScalar,
pub root_version: u64,
pub uid: u64,
}Expand description
A Merkle tree leaf.
Fields§
§path: MTPathThe Merkle tree path.
root: BLSScalarThe root hash.
root_version: u64The version of the Merkle tree.
uid: u64The ID of the commitment.
Trait Implementations§
source§impl Clone for MTLeafInfo
impl Clone for MTLeafInfo
source§fn clone(&self) -> MTLeafInfo
fn clone(&self) -> MTLeafInfo
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 MTLeafInfo
impl Debug for MTLeafInfo
source§impl Default for MTLeafInfo
impl Default for MTLeafInfo
source§impl<'de> Deserialize<'de> for MTLeafInfo
impl<'de> Deserialize<'de> for MTLeafInfo
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<MTLeafInfo> for MTLeafInfo
impl PartialEq<MTLeafInfo> for MTLeafInfo
source§fn eq(&self, other: &MTLeafInfo) -> bool
fn eq(&self, other: &MTLeafInfo) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for MTLeafInfo
impl Serialize for MTLeafInfo
impl StructuralPartialEq for MTLeafInfo
Auto Trait Implementations§
impl RefUnwindSafe for MTLeafInfo
impl Send for MTLeafInfo
impl Sync for MTLeafInfo
impl Unpin for MTLeafInfo
impl UnwindSafe for MTLeafInfo
Blanket Implementations§
§impl<T> InitializableFromZeroed for Twhere
T: Default,
impl<T> InitializableFromZeroed for Twhere
T: Default,
§unsafe fn initialize(place: *mut T)
unsafe fn initialize(place: *mut T)
Called to initialize a place to a valid value, after it is set
to all-bits-zero. Read more