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§
Auto 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