pub struct SetSpotMarginLeverageRequest {
pub leverage: Decimal,
pub currency: Option<String>,
}Expand description
Request body for
Client::set_spot_margin_leverage.
The account must have completed spot margin activation (including the required quiz) before this call succeeds.
Fields§
§leverage: DecimalMaximum leverage. Range: [2, 10]
currency: Option<String>Coin name, uppercase only
Implementations§
Trait Implementations§
Source§impl Clone for SetSpotMarginLeverageRequest
impl Clone for SetSpotMarginLeverageRequest
Source§impl Debug for SetSpotMarginLeverageRequest
impl Debug for SetSpotMarginLeverageRequest
Auto Trait Implementations§
impl Freeze for SetSpotMarginLeverageRequest
impl RefUnwindSafe for SetSpotMarginLeverageRequest
impl Send for SetSpotMarginLeverageRequest
impl Sync for SetSpotMarginLeverageRequest
impl Unpin for SetSpotMarginLeverageRequest
impl UnsafeUnpin for SetSpotMarginLeverageRequest
impl UnwindSafe for SetSpotMarginLeverageRequest
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