Struct cfx_storage::storage_db::snapshot_mpt::SubtreeMerkleWithSize
source · pub struct SubtreeMerkleWithSize {
pub merkle: MerkleHash,
pub subtree_size: u64,
pub delta_subtree_size: u64,
}
Fields§
§merkle: MerkleHash
§subtree_size: u64
§delta_subtree_size: u64
Trait Implementations§
source§impl Clone for SubtreeMerkleWithSize
impl Clone for SubtreeMerkleWithSize
source§fn clone(&self) -> SubtreeMerkleWithSize
fn clone(&self) -> SubtreeMerkleWithSize
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 SubtreeMerkleWithSize
impl Debug for SubtreeMerkleWithSize
source§impl Decodable for SubtreeMerkleWithSize
impl Decodable for SubtreeMerkleWithSize
source§impl Default for SubtreeMerkleWithSize
impl Default for SubtreeMerkleWithSize
source§fn default() -> SubtreeMerkleWithSize
fn default() -> SubtreeMerkleWithSize
Returns the “default value” for a type. Read more
source§impl Encodable for SubtreeMerkleWithSize
impl Encodable for SubtreeMerkleWithSize
source§impl PartialEq for SubtreeMerkleWithSize
impl PartialEq for SubtreeMerkleWithSize
source§fn eq(&self, other: &SubtreeMerkleWithSize) -> bool
fn eq(&self, other: &SubtreeMerkleWithSize) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SubtreeMerkleWithSize
impl StructuralPartialEq for SubtreeMerkleWithSize
Auto Trait Implementations§
impl RefUnwindSafe for SubtreeMerkleWithSize
impl Send for SubtreeMerkleWithSize
impl Sync for SubtreeMerkleWithSize
impl Unpin for SubtreeMerkleWithSize
impl UnwindSafe for SubtreeMerkleWithSize
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