pub enum StopOrderAny {
LimitIfTouched(LimitIfTouchedOrder),
MarketIfTouched(MarketIfTouchedOrder),
StopLimit(StopLimitOrder),
StopMarket(StopMarketOrder),
TrailingStopLimit(TrailingStopLimitOrder),
TrailingStopMarket(TrailingStopMarketOrder),
}
Variants§
LimitIfTouched(LimitIfTouchedOrder)
MarketIfTouched(MarketIfTouchedOrder)
StopLimit(StopLimitOrder)
StopMarket(StopMarketOrder)
TrailingStopLimit(TrailingStopLimitOrder)
TrailingStopMarket(TrailingStopMarketOrder)
Implementations§
Source§impl StopOrderAny
impl StopOrderAny
pub fn client_order_id(&self) -> ClientOrderId
pub fn order_side_specified(&self) -> OrderSideSpecified
pub fn stop_px(&self) -> Price
pub fn is_closed(&self) -> bool
pub fn expire_time(&self) -> Option<UnixNanos>
Trait Implementations§
Source§impl Clone for StopOrderAny
impl Clone for StopOrderAny
Source§fn clone(&self) -> StopOrderAny
fn clone(&self) -> StopOrderAny
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 StopOrderAny
impl Debug for StopOrderAny
Source§impl From<OrderAny> for StopOrderAny
impl From<OrderAny> for StopOrderAny
Source§fn from(order: OrderAny) -> StopOrderAny
fn from(order: OrderAny) -> StopOrderAny
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 StopOrderAny
impl PartialEq for StopOrderAny
Auto Trait Implementations§
impl Freeze for StopOrderAny
impl RefUnwindSafe for StopOrderAny
impl Send for StopOrderAny
impl Sync for StopOrderAny
impl Unpin for StopOrderAny
impl UnwindSafe for StopOrderAny
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