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 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 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
Source§impl From<BlocksAmount> for u32
impl From<BlocksAmount> for u32
Source§fn from(original: BlocksAmount) -> Self
fn from(original: BlocksAmount) -> Self
Converts to this type from the input type.
Source§impl From<u32> for BlocksAmount
impl From<u32> for BlocksAmount
Source§fn from(original: u32) -> BlocksAmount
fn from(original: u32) -> BlocksAmount
Converts to this type from the input type.
Source§impl PartialEq for BlocksAmount
impl PartialEq for BlocksAmount
impl Copy for BlocksAmount
impl Eq for BlocksAmount
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 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