pub struct BlockMetrics {
pub base_size: usize,
pub witness_size: usize,
pub serialized_size: usize,
pub weight: usize,
pub merkle_root: MerkleRoot,
pub witness_root: WitnessRoot,
}Fields§
§base_size: usize§witness_size: usize§serialized_size: usize§weight: usize§merkle_root: MerkleRoot§witness_root: WitnessRootTrait Implementations§
Source§impl Clone for BlockMetrics
impl Clone for BlockMetrics
Source§fn clone(&self) -> BlockMetrics
fn clone(&self) -> BlockMetrics
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 moreimpl Copy for BlockMetrics
Source§impl Debug for BlockMetrics
impl Debug for BlockMetrics
impl Eq for BlockMetrics
Source§impl PartialEq for BlockMetrics
impl PartialEq for BlockMetrics
impl StructuralPartialEq for BlockMetrics
Auto Trait Implementations§
impl Freeze for BlockMetrics
impl RefUnwindSafe for BlockMetrics
impl Send for BlockMetrics
impl Sync for BlockMetrics
impl Unpin for BlockMetrics
impl UnsafeUnpin for BlockMetrics
impl UnwindSafe for BlockMetrics
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