pub struct SwitchMarginModeParams {
pub category: Category,
pub symbol: String,
pub trade_mode: i32,
pub buy_leverage: String,
pub sell_leverage: String,
}Expand description
Parameters for switching isolated margin mode.
Fields§
§category: CategoryProduct category.
symbol: StringTrading symbol.
trade_mode: i32Trade mode (0=cross margin, 1=isolated margin).
buy_leverage: StringBuy leverage.
sell_leverage: StringSell leverage.
Implementations§
Trait Implementations§
Source§impl Clone for SwitchMarginModeParams
impl Clone for SwitchMarginModeParams
Source§fn clone(&self) -> SwitchMarginModeParams
fn clone(&self) -> SwitchMarginModeParams
Returns a duplicate of the value. Read more
1.0.0 · 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 SwitchMarginModeParams
impl Debug for SwitchMarginModeParams
Auto Trait Implementations§
impl Freeze for SwitchMarginModeParams
impl RefUnwindSafe for SwitchMarginModeParams
impl Send for SwitchMarginModeParams
impl Sync for SwitchMarginModeParams
impl Unpin for SwitchMarginModeParams
impl UnwindSafe for SwitchMarginModeParams
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