pub struct FeeTradingFee {
pub info: Value,
pub symbol: String,
pub maker: Decimal,
pub taker: Decimal,
pub percentage: bool,
pub tier_based: bool,
}Expand description
Trading fee structure.
Contains maker and taker fee information for a specific market.
Fields§
§info: ValueRaw API response data.
symbol: StringMarket symbol.
maker: DecimalMaker fee rate (limit orders).
taker: DecimalTaker fee rate (market orders).
percentage: boolWhether the fee is in percentage format.
tier_based: boolWhether tier-based fees are applied.
Implementations§
Source§impl TradingFee
impl TradingFee
Trait Implementations§
Source§impl Clone for TradingFee
impl Clone for TradingFee
Source§fn clone(&self) -> TradingFee
fn clone(&self) -> TradingFee
Returns a duplicate 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 TradingFee
impl Debug for TradingFee
Source§impl<'de> Deserialize<'de> for TradingFee
impl<'de> Deserialize<'de> for TradingFee
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<TradingFee, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<TradingFee, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for TradingFee
impl Serialize for TradingFee
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for TradingFee
impl RefUnwindSafe for TradingFee
impl Send for TradingFee
impl Sync for TradingFee
impl Unpin for TradingFee
impl UnwindSafe for TradingFee
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