Struct chain_impl_mockchain::stake::SplitValueIn
source · pub struct SplitValueIn {
pub parts: StakeUnit,
pub remaining: Stake,
}
Fields§
§parts: StakeUnit
§remaining: Stake
Trait Implementations§
source§impl Clone for SplitValueIn
impl Clone for SplitValueIn
source§fn clone(&self) -> SplitValueIn
fn clone(&self) -> SplitValueIn
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 SplitValueIn
impl Debug for SplitValueIn
source§impl PartialEq<SplitValueIn> for SplitValueIn
impl PartialEq<SplitValueIn> for SplitValueIn
source§fn eq(&self, other: &SplitValueIn) -> bool
fn eq(&self, other: &SplitValueIn) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SplitValueIn
impl Eq for SplitValueIn
impl StructuralEq for SplitValueIn
impl StructuralPartialEq for SplitValueIn
Auto Trait Implementations§
impl RefUnwindSafe for SplitValueIn
impl Send for SplitValueIn
impl Sync for SplitValueIn
impl Unpin for SplitValueIn
impl UnwindSafe for SplitValueIn
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