pub struct OpenPositionRequest {
pub coin: String,
pub is_buy: bool,
pub sz: String,
pub limit_px: String,
pub order_type: OrderType,
}Fields§
§coin: String§is_buy: bool§sz: String§limit_px: String§order_type: OrderTypeTrait Implementations§
Source§impl Clone for OpenPositionRequest
impl Clone for OpenPositionRequest
Source§fn clone(&self) -> OpenPositionRequest
fn clone(&self) -> OpenPositionRequest
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 OpenPositionRequest
impl Debug for OpenPositionRequest
Auto Trait Implementations§
impl Freeze for OpenPositionRequest
impl RefUnwindSafe for OpenPositionRequest
impl Send for OpenPositionRequest
impl Sync for OpenPositionRequest
impl Unpin for OpenPositionRequest
impl UnwindSafe for OpenPositionRequest
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