pub struct SwitchSpotMarginModeResult {
pub spot_margin_mode: SpotMarginMode,
}Expand description
Result of POST /v5/spot-margin-trade/switch-mode (Client::switch_spot_margin_mode).
Fields§
§spot_margin_mode: SpotMarginModeSpot margin status. 1: on, 0: off.
Trait Implementations§
Source§impl Debug for SwitchSpotMarginModeResult
impl Debug for SwitchSpotMarginModeResult
Source§impl<'de> Deserialize<'de> for SwitchSpotMarginModeResult
impl<'de> Deserialize<'de> for SwitchSpotMarginModeResult
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for SwitchSpotMarginModeResult
Auto Trait Implementations§
impl Freeze for SwitchSpotMarginModeResult
impl RefUnwindSafe for SwitchSpotMarginModeResult
impl Send for SwitchSpotMarginModeResult
impl Sync for SwitchSpotMarginModeResult
impl Unpin for SwitchSpotMarginModeResult
impl UnsafeUnpin for SwitchSpotMarginModeResult
impl UnwindSafe for SwitchSpotMarginModeResult
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