pub struct Discount {
pub enabled_for_account: bool,
pub enabled_for_symbol: bool,
pub discount_asset: String,
pub discount: Decimal,
}Fields§
§enabled_for_account: bool§enabled_for_symbol: bool§discount_asset: String§discount: DecimalStandard commission is reduced by this rate when paying commission in BNB.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Discount
impl<'de> Deserialize<'de> for Discount
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 Discount
Auto Trait Implementations§
impl Freeze for Discount
impl RefUnwindSafe for Discount
impl Send for Discount
impl Sync for Discount
impl Unpin for Discount
impl UnwindSafe for Discount
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