pub struct Fees {
pub fee: Decimal,
pub min_fee: Decimal,
pub max_fee: Decimal,
pub next_fee: Option<Decimal>,
pub next_volume: Option<Decimal>,
pub tier_volume: Option<Decimal>,
}
Expand description
Description of fee tier
Fields§
§fee: Decimal
§min_fee: Decimal
§max_fee: Decimal
§next_fee: Option<Decimal>
§next_volume: Option<Decimal>
§tier_volume: Option<Decimal>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Fees
impl<'de> Deserialize<'de> for Fees
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
impl StructuralPartialEq for Fees
Auto Trait Implementations§
impl Freeze for Fees
impl RefUnwindSafe for Fees
impl Send for Fees
impl Sync for Fees
impl Unpin for Fees
impl UnwindSafe for Fees
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