Enum longport::trade::TimeInForceType
source · pub enum TimeInForceType {
Unknown,
Day,
GoodTilCanceled,
GoodTilDate,
}
Expand description
Time in force Type
Variants§
Unknown
Unknown
Day
Day Order
GoodTilCanceled
Good Til Canceled Order
GoodTilDate
Good Til Date Order
Trait Implementations§
source§impl Clone for TimeInForceType
impl Clone for TimeInForceType
source§fn clone(&self) -> TimeInForceType
fn clone(&self) -> TimeInForceType
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 TimeInForceType
impl Debug for TimeInForceType
source§impl Default for TimeInForceType
impl Default for TimeInForceType
source§impl<'de> Deserialize<'de> for TimeInForceType
impl<'de> Deserialize<'de> for TimeInForceType
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
source§impl Display for TimeInForceType
impl Display for TimeInForceType
source§impl FromStr for TimeInForceType
impl FromStr for TimeInForceType
source§impl Hash for TimeInForceType
impl Hash for TimeInForceType
source§impl PartialEq for TimeInForceType
impl PartialEq for TimeInForceType
source§fn eq(&self, other: &TimeInForceType) -> bool
fn eq(&self, other: &TimeInForceType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TimeInForceType
impl Serialize for TimeInForceType
source§impl TryFrom<&str> for TimeInForceType
impl TryFrom<&str> for TimeInForceType
impl Copy for TimeInForceType
impl Eq for TimeInForceType
impl StructuralPartialEq for TimeInForceType
Auto Trait Implementations§
impl Freeze for TimeInForceType
impl RefUnwindSafe for TimeInForceType
impl Send for TimeInForceType
impl Sync for TimeInForceType
impl Unpin for TimeInForceType
impl UnwindSafe for TimeInForceType
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