pub struct Leverage {
pub symbol: Option<String>,
pub margin_mode: Option<String>,
pub long_leverage: Option<f64>,
pub short_leverage: Option<f64>,
pub raw: Value,
}Expand description
Unified leverage per symbol.
Fields§
§symbol: Option<String>§margin_mode: Option<String>§long_leverage: Option<f64>§short_leverage: Option<f64>§raw: ValueImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Leverage
impl RefUnwindSafe for Leverage
impl Send for Leverage
impl Sync for Leverage
impl Unpin for Leverage
impl UnsafeUnpin for Leverage
impl UnwindSafe for Leverage
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