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) -> 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 (const: unstable) · 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 Default for TradingFee
impl Default for TradingFee
Source§fn default() -> TradingFee
fn default() -> TradingFee
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Forget for TradingFee
impl Freeze for TradingFee
impl Move 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