Struct jormungandr_lib::interfaces::TaxTypeDef
source · pub struct TaxTypeDef {
pub fixed: Value,
pub ratio: Ratio,
pub max_limit: Option<NonZeroU64>,
}
Fields§
§fixed: Value
§ratio: Ratio
§max_limit: Option<NonZeroU64>
Implementations§
source§impl TaxTypeDef
impl TaxTypeDef
source§impl<'de> TaxTypeDef
impl<'de> TaxTypeDef
pub fn deserialize<__D>(__deserializer: __D) -> Result<TaxType, __D::Error>where __D: Deserializer<'de>,
Trait Implementations§
source§impl Clone for TaxTypeDef
impl Clone for TaxTypeDef
source§fn clone(&self) -> TaxTypeDef
fn clone(&self) -> TaxTypeDef
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 TaxTypeDef
impl Debug for TaxTypeDef
source§impl PartialEq<TaxTypeDef> for TaxTypeDef
impl PartialEq<TaxTypeDef> for TaxTypeDef
source§fn eq(&self, other: &TaxTypeDef) -> bool
fn eq(&self, other: &TaxTypeDef) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for TaxTypeDef
impl StructuralEq for TaxTypeDef
impl StructuralPartialEq for TaxTypeDef
Auto Trait Implementations§
impl RefUnwindSafe for TaxTypeDef
impl Send for TaxTypeDef
impl Sync for TaxTypeDef
impl Unpin for TaxTypeDef
impl UnwindSafe for TaxTypeDef
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