Struct chain_impl_mockchain::stake::StakeUnit
source · pub struct StakeUnit(Stake);
Tuple Fields§
§0: Stake
Implementations§
Trait Implementations§
source§impl Ord for StakeUnit
impl Ord for StakeUnit
source§impl PartialEq<StakeUnit> for StakeUnit
impl PartialEq<StakeUnit> for StakeUnit
source§impl PartialOrd<StakeUnit> for StakeUnit
impl PartialOrd<StakeUnit> for StakeUnit
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for StakeUnit
impl Eq for StakeUnit
impl StructuralEq for StakeUnit
impl StructuralPartialEq for StakeUnit
Auto Trait Implementations§
impl RefUnwindSafe for StakeUnit
impl Send for StakeUnit
impl Sync for StakeUnit
impl Unpin for StakeUnit
impl UnwindSafe for StakeUnit
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