pub struct SetLeverageParams {
pub category: Category,
pub symbol: String,
pub buy_leverage: String,
pub sell_leverage: String,
}Expand description
Parameters for setting leverage.
Fields§
§category: CategoryProduct category.
symbol: StringTrading symbol.
buy_leverage: StringBuy leverage (must be same as sell for one-way mode).
sell_leverage: StringSell leverage (must be same as buy for one-way mode).
Implementations§
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 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