pub struct TradingFee {
pub symbol: Option<String>,
pub maker: Option<f64>,
pub taker: Option<f64>,
pub percentage: Option<bool>,
pub tier_based: Option<bool>,
pub raw: Value,
}Expand description
Unified trading-fee descriptor (per-symbol maker / taker).
Fields§
§symbol: Option<String>§maker: Option<f64>§taker: Option<f64>§percentage: Option<bool>§tier_based: Option<bool>§raw: ValueImplementations§
Source§impl TradingFee
impl TradingFee
pub fn from_value(v: Value) -> Self
Trait Implementations§
Source§impl Clone for TradingFee
impl Clone for TradingFee
Source§impl Debug for TradingFee
impl Debug for TradingFee
Auto Trait Implementations§
impl Freeze for TradingFee
impl RefUnwindSafe for TradingFee
impl Send for TradingFee
impl Sync for TradingFee
impl Unpin for TradingFee
impl UnsafeUnpin 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