Struct chain_impl_mockchain::rewards::TaxType
source · pub struct TaxType {
pub fixed: Value,
pub ratio: Ratio,
pub max_limit: Option<NonZeroU64>,
}
Fields§
§fixed: Value
§ratio: Ratio
§max_limit: Option<NonZeroU64>
Implementations§
Trait Implementations§
source§impl Arbitrary for TaxType
impl Arbitrary for TaxType
§type Parameters = ()
type Parameters = ()
The type of parameters that
arbitrary_with
accepts for configuration
of the generated Strategy
. Parameters must implement Default
.source§fn arbitrary_with(args: <Self as Arbitrary>::Parameters) -> Self::Strategy
fn arbitrary_with(args: <Self as Arbitrary>::Parameters) -> Self::Strategy
source§impl ConfigParamVariant for TaxType
impl ConfigParamVariant for TaxType
source§impl PartialEq<TaxType> for TaxType
impl PartialEq<TaxType> for TaxType
impl Copy for TaxType
impl Eq for TaxType
impl StructuralEq for TaxType
impl StructuralPartialEq for TaxType
Auto Trait Implementations§
impl RefUnwindSafe for TaxType
impl Send for TaxType
impl Sync for TaxType
impl Unpin for TaxType
impl UnwindSafe for TaxType
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