pub struct BlocksAmount(/* private fields */);Expand description
Chain blocks amount.
Trait Implementations§
Source§impl Clone for BlocksAmount
impl Clone for BlocksAmount
Source§fn clone(&self) -> BlocksAmount
fn clone(&self) -> BlocksAmount
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 BlocksAmount
Source§impl Debug for BlocksAmount
impl Debug for BlocksAmount
Source§impl Default for BlocksAmount
impl Default for BlocksAmount
Source§fn default() -> BlocksAmount
fn default() -> BlocksAmount
Returns the “default value” for a type. Read more
impl Eq for BlocksAmount
Source§impl From<BlocksAmount> for u32
impl From<BlocksAmount> for u32
Source§fn from(value: BlocksAmount) -> Self
fn from(value: BlocksAmount) -> Self
Converts to this type from the input type.
Source§impl From<u32> for BlocksAmount
impl From<u32> for BlocksAmount
Source§impl PartialEq for BlocksAmount
impl PartialEq for BlocksAmount
Source§fn eq(&self, other: &BlocksAmount) -> bool
fn eq(&self, other: &BlocksAmount) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BlocksAmount
Auto Trait Implementations§
impl Freeze for BlocksAmount
impl RefUnwindSafe for BlocksAmount
impl Send for BlocksAmount
impl Sync for BlocksAmount
impl Unpin for BlocksAmount
impl UnsafeUnpin for BlocksAmount
impl UnwindSafe for BlocksAmount
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