pub struct DataBlockMerkleLeaf {
pub block_index: u64,
pub kind: BlockKind,
pub flags: u8,
pub payload: Vec<u8>,
}Fields§
§block_index: u64§kind: BlockKind§flags: u8§payload: Vec<u8>Trait Implementations§
Source§impl Clone for DataBlockMerkleLeaf
impl Clone for DataBlockMerkleLeaf
Source§fn clone(&self) -> DataBlockMerkleLeaf
fn clone(&self) -> DataBlockMerkleLeaf
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 DataBlockMerkleLeaf
impl Debug for DataBlockMerkleLeaf
Source§impl PartialEq for DataBlockMerkleLeaf
impl PartialEq for DataBlockMerkleLeaf
Source§fn eq(&self, other: &DataBlockMerkleLeaf) -> bool
fn eq(&self, other: &DataBlockMerkleLeaf) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for DataBlockMerkleLeaf
impl StructuralPartialEq for DataBlockMerkleLeaf
Auto Trait Implementations§
impl Freeze for DataBlockMerkleLeaf
impl RefUnwindSafe for DataBlockMerkleLeaf
impl Send for DataBlockMerkleLeaf
impl Sync for DataBlockMerkleLeaf
impl Unpin for DataBlockMerkleLeaf
impl UnsafeUnpin for DataBlockMerkleLeaf
impl UnwindSafe for DataBlockMerkleLeaf
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