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