pub struct SetLeverageParams {
pub category: Category,
pub symbol: String,
pub buy_leverage: String,
pub sell_leverage: String,
}Expand description
Set leverage request.
Fields§
§category: CategoryCategory
symbol: StringSymbol
buy_leverage: StringBuy leverage
sell_leverage: StringSell leverage
Trait Implementations§
Source§impl Clone for SetLeverageParams
impl Clone for SetLeverageParams
Source§fn clone(&self) -> SetLeverageParams
fn clone(&self) -> SetLeverageParams
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 SetLeverageParams
impl Debug for SetLeverageParams
Auto Trait Implementations§
impl Freeze for SetLeverageParams
impl RefUnwindSafe for SetLeverageParams
impl Send for SetLeverageParams
impl Sync for SetLeverageParams
impl Unpin for SetLeverageParams
impl UnsafeUnpin for SetLeverageParams
impl UnwindSafe for SetLeverageParams
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