pub struct SetAutoAddMarginRequest {
pub category: Category,
pub symbol: String,
pub auto_add_margin: i32,
pub position_idx: Option<PositionIdx>,
}Fields§
§category: Categorylinear, inverse
symbol: String§auto_add_margin: i320: false, 1: true
position_idx: Option<PositionIdx>Implementations§
Source§impl SetAutoAddMarginRequest
impl SetAutoAddMarginRequest
pub fn new(category: Category, symbol: String, enabled: bool) -> Self
pub fn with_position_idx(self, v: PositionIdx) -> Self
Trait Implementations§
Source§impl Debug for SetAutoAddMarginRequest
impl Debug for SetAutoAddMarginRequest
Auto Trait Implementations§
impl Freeze for SetAutoAddMarginRequest
impl RefUnwindSafe for SetAutoAddMarginRequest
impl Send for SetAutoAddMarginRequest
impl Sync for SetAutoAddMarginRequest
impl Unpin for SetAutoAddMarginRequest
impl UnsafeUnpin for SetAutoAddMarginRequest
impl UnwindSafe for SetAutoAddMarginRequest
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