pub enum OrderType {
Show 14 variants
Unknown,
LO,
ELO,
MO,
AO,
ALO,
ODD,
LIT,
MIT,
TSLPAMT,
TSLPPCT,
TSMAMT,
TSMPCT,
SLO,
}
Expand description
Order type
Variants§
Unknown
Unknown
LO
Limit Order
ELO
Enhanced Limit Order
MO
Market Order
AO
At-auction Order
ALO
At-auction Limit Order
ODD
Odd Lots
LIT
Limit If Touched
MIT
Market If Touched
TSLPAMT
Trailing Limit If Touched (Trailing Amount)
TSLPPCT
Trailing Limit If Touched (Trailing Percent)
TSMAMT
Trailing Market If Touched (Trailing Amount)
TSMPCT
Trailing Market If Touched (Trailing Percent)
SLO
Special Limit Order
Trait Implementations§
source§impl<'de> Deserialize<'de> for OrderType
impl<'de> Deserialize<'de> for OrderType
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Copy for OrderType
impl Eq for OrderType
impl StructuralPartialEq for OrderType
Auto Trait Implementations§
impl Freeze for OrderType
impl RefUnwindSafe for OrderType
impl Send for OrderType
impl Sync for OrderType
impl Unpin for OrderType
impl UnwindSafe for OrderType
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more