pub enum OrderRequestType {
Limit {
price: Decimal,
size: Decimal,
post_only: bool,
time_in_force: Option<OrderTimeInForce>,
},
Market {
_type: OrderRequestMarketType,
},
}Expand description
This struct represents a order type request
Variants§
Trait Implementations§
Source§impl Clone for OrderRequestType
impl Clone for OrderRequestType
Source§fn clone(&self) -> OrderRequestType
fn clone(&self) -> OrderRequestType
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 OrderRequestType
impl Debug for OrderRequestType
Source§impl<'de> Deserialize<'de> for OrderRequestType
impl<'de> Deserialize<'de> for OrderRequestType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for OrderRequestType
impl RefUnwindSafe for OrderRequestType
impl Send for OrderRequestType
impl Sync for OrderRequestType
impl Unpin for OrderRequestType
impl UnwindSafe for OrderRequestType
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