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) -> LeverageTier
Trait Implementations§
Source§impl Clone for LeverageTier
impl Clone for LeverageTier
Source§fn clone(&self) -> LeverageTier
fn clone(&self) -> LeverageTier
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 LeverageTier
impl Debug for LeverageTier
Source§impl Default for LeverageTier
impl Default for LeverageTier
Source§fn default() -> LeverageTier
fn default() -> LeverageTier
Returns the “default value” for a type. Read more
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