Struct chain_impl_mockchain::rewards::TaxDistribution
source · pub struct TaxDistribution {
pub taxed: Value,
pub after_tax: Value,
}
Expand description
A value distributed between tax and remaining
Fields§
§taxed: Value
§after_tax: Value
Trait Implementations§
source§impl Clone for TaxDistribution
impl Clone for TaxDistribution
source§fn clone(&self) -> TaxDistribution
fn clone(&self) -> TaxDistribution
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 moreAuto Trait Implementations§
impl RefUnwindSafe for TaxDistribution
impl Send for TaxDistribution
impl Sync for TaxDistribution
impl Unpin for TaxDistribution
impl UnwindSafe for TaxDistribution
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