pub struct AddMarginParams {
pub category: Category,
pub symbol: String,
pub margin: String,
pub position_idx: Option<i32>,
}Expand description
Add margin request.
Fields§
§category: CategoryCategory
symbol: StringSymbol
margin: StringMargin amount
position_idx: Option<i32>Position index
Trait Implementations§
Source§impl Clone for AddMarginParams
impl Clone for AddMarginParams
Source§fn clone(&self) -> AddMarginParams
fn clone(&self) -> AddMarginParams
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 AddMarginParams
impl Debug for AddMarginParams
Auto Trait Implementations§
impl Freeze for AddMarginParams
impl RefUnwindSafe for AddMarginParams
impl Send for AddMarginParams
impl Sync for AddMarginParams
impl Unpin for AddMarginParams
impl UnsafeUnpin for AddMarginParams
impl UnwindSafe for AddMarginParams
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