pub struct DebugEvents {
pub leaves: Vec<CommitHash>,
pub length: usize,
pub root: Option<CommitHash>,
}Expand description
Collection of event logs for an account tree.
Fields§
§leaves: Vec<CommitHash>Leaves in the merkle tree.
length: usizeNumber of leaves in the tree.
root: Option<CommitHash>Computed root of the merkle tree.
Trait Implementations§
Source§impl Debug for DebugEvents
impl Debug for DebugEvents
Source§impl Default for DebugEvents
impl Default for DebugEvents
Source§fn default() -> DebugEvents
fn default() -> DebugEvents
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DebugEventswhere
DebugEvents: Default,
impl<'de> Deserialize<'de> for DebugEventswhere
DebugEvents: Default,
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 DebugEvents
impl RefUnwindSafe for DebugEvents
impl Send for DebugEvents
impl Sync for DebugEvents
impl Unpin for DebugEvents
impl UnwindSafe for DebugEvents
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