pub struct SwitchCrossIsolatedMarginRequest {
pub category: Category,
pub symbol: String,
pub trade_mode: TradeMode,
pub buy_leverage: Decimal,
pub sell_leverage: Decimal,
}Fields§
§category: Categorylinear, inverse
symbol: String§trade_mode: TradeMode0: cross margin, 1: isolated margin
buy_leverage: Decimal§sell_leverage: DecimalImplementations§
Trait Implementations§
Source§impl Clone for SwitchCrossIsolatedMarginRequest
impl Clone for SwitchCrossIsolatedMarginRequest
Source§fn clone(&self) -> SwitchCrossIsolatedMarginRequest
fn clone(&self) -> SwitchCrossIsolatedMarginRequest
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 moreAuto Trait Implementations§
impl Freeze for SwitchCrossIsolatedMarginRequest
impl RefUnwindSafe for SwitchCrossIsolatedMarginRequest
impl Send for SwitchCrossIsolatedMarginRequest
impl Sync for SwitchCrossIsolatedMarginRequest
impl Unpin for SwitchCrossIsolatedMarginRequest
impl UnsafeUnpin for SwitchCrossIsolatedMarginRequest
impl UnwindSafe for SwitchCrossIsolatedMarginRequest
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