pub struct SwitchSpotMarginModeRequest {
pub spot_margin_mode: SpotMarginMode,
}Expand description
Request body for
Client::switch_spot_margin_mode.
The account must have completed spot margin activation (including the required quiz) before this call succeeds.
Fields§
§spot_margin_mode: SpotMarginMode1: on, 0: off.
Implementations§
Trait Implementations§
Source§impl Clone for SwitchSpotMarginModeRequest
impl Clone for SwitchSpotMarginModeRequest
Source§impl Debug for SwitchSpotMarginModeRequest
impl Debug for SwitchSpotMarginModeRequest
Auto Trait Implementations§
impl Freeze for SwitchSpotMarginModeRequest
impl RefUnwindSafe for SwitchSpotMarginModeRequest
impl Send for SwitchSpotMarginModeRequest
impl Sync for SwitchSpotMarginModeRequest
impl Unpin for SwitchSpotMarginModeRequest
impl UnsafeUnpin for SwitchSpotMarginModeRequest
impl UnwindSafe for SwitchSpotMarginModeRequest
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