pub enum LimitOrderAny {
Limit(LimitOrder),
MarketToLimit(MarketToLimitOrder),
StopLimit(StopLimitOrder),
TrailingStopLimit(TrailingStopLimitOrder),
}
Variants§
Limit(LimitOrder)
MarketToLimit(MarketToLimitOrder)
StopLimit(StopLimitOrder)
TrailingStopLimit(TrailingStopLimitOrder)
Implementations§
Source§impl LimitOrderAny
impl LimitOrderAny
pub fn client_order_id(&self) -> ClientOrderId
pub fn order_side_specified(&self) -> OrderSideSpecified
pub fn limit_px(&self) -> Price
pub fn is_closed(&self) -> bool
pub fn expire_time(&self) -> Option<UnixNanos>
Trait Implementations§
Source§impl Clone for LimitOrderAny
impl Clone for LimitOrderAny
Source§fn clone(&self) -> LimitOrderAny
fn clone(&self) -> LimitOrderAny
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 LimitOrderAny
impl Debug for LimitOrderAny
Source§impl From<LimitOrderAny> for PassiveOrderAny
impl From<LimitOrderAny> for PassiveOrderAny
Source§fn from(order: LimitOrderAny) -> PassiveOrderAny
fn from(order: LimitOrderAny) -> PassiveOrderAny
Converts to this type from the input type.
Source§impl From<OrderAny> for LimitOrderAny
impl From<OrderAny> for LimitOrderAny
Source§fn from(order: OrderAny) -> LimitOrderAny
fn from(order: OrderAny) -> LimitOrderAny
Converts to this type from the input type.
Source§impl PartialEq for LimitOrderAny
impl PartialEq for LimitOrderAny
Auto Trait Implementations§
impl Freeze for LimitOrderAny
impl RefUnwindSafe for LimitOrderAny
impl Send for LimitOrderAny
impl Sync for LimitOrderAny
impl Unpin for LimitOrderAny
impl UnwindSafe for LimitOrderAny
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