Struct jormungandr_lib::interfaces::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>
Trait Implementations§
source§impl<'de> Deserialize<'de> for TaxType
impl<'de> Deserialize<'de> for TaxType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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