pub struct LimitOrder {Show 14 fields
pub id: String,
pub client_id: Option<u32>,
pub symbol: String,
pub side: Side,
pub quantity: Decimal,
pub executed_quantity: Decimal,
pub executed_quote_quantity: Decimal,
pub price: Decimal,
pub trigger_price: Option<Decimal>,
pub time_in_force: TimeInForce,
pub self_trade_prevention: SelfTradePrevention,
pub post_only: bool,
pub status: OrderStatus,
pub created_at: i64,
}Fields§
§id: String§client_id: Option<u32>§symbol: String§side: Side§quantity: Decimal§executed_quantity: Decimal§executed_quote_quantity: Decimal§price: Decimal§trigger_price: Option<Decimal>§time_in_force: TimeInForce§self_trade_prevention: SelfTradePrevention§post_only: bool§status: OrderStatus§created_at: i64Trait Implementations§
Source§impl Clone for LimitOrder
impl Clone for LimitOrder
Source§fn clone(&self) -> LimitOrder
fn clone(&self) -> LimitOrder
Returns a copy 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 LimitOrder
impl Debug for LimitOrder
Source§impl<'de> Deserialize<'de> for LimitOrder
impl<'de> Deserialize<'de> for LimitOrder
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 LimitOrder
impl RefUnwindSafe for LimitOrder
impl Send for LimitOrder
impl Sync for LimitOrder
impl Unpin for LimitOrder
impl UnwindSafe for LimitOrder
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