pub struct LeverageTier {
pub tier: Option<f64>,
pub symbol: Option<String>,
pub currency: Option<String>,
pub min_notional: Option<f64>,
pub max_notional: Option<f64>,
pub maintenance_margin_rate: Option<f64>,
pub max_leverage: Option<f64>,
pub raw: Value,
}Expand description
One bracket in a leverage-tier ladder.
Fields§
§tier: Option<f64>§symbol: Option<String>§currency: Option<String>§min_notional: Option<f64>§max_notional: Option<f64>§maintenance_margin_rate: Option<f64>§max_leverage: Option<f64>§raw: ValueImplementations§
Source§impl LeverageTier
impl LeverageTier
pub fn from_value(v: Value) -> Self
Trait Implementations§
Source§impl Clone for LeverageTier
impl Clone for LeverageTier
Source§impl Debug for LeverageTier
impl Debug for LeverageTier
Auto Trait Implementations§
impl Forget for LeverageTier
impl Freeze for LeverageTier
impl Move for LeverageTier
impl RefUnwindSafe for LeverageTier
impl Send for LeverageTier
impl Sync for LeverageTier
impl Unpin for LeverageTier
impl UnsafeUnpin for LeverageTier
impl UnwindSafe for LeverageTier
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