pub enum TimeInForce {
Day,
GoodTillCancel,
AtTheOpening,
ImmediateOrCancel,
FillOrKill,
GoodTillCrossing,
GoodTillDate,
AtTheClose,
GoodThroughCrossing,
AtCrossing,
}
Variants§
Day
Value “0”
GoodTillCancel
Value “1”
AtTheOpening
Value “2”
ImmediateOrCancel
Value “3”
FillOrKill
Value “4”
GoodTillCrossing
Value “5”
GoodTillDate
Value “6”
AtTheClose
Value “7”
GoodThroughCrossing
Value “8”
AtCrossing
Value “9”
Implementations§
Source§impl TimeInForce
impl TimeInForce
pub const fn from_bytes(input: &[u8]) -> Option<TimeInForce>
pub const fn from_fix_str(input: &FixStr) -> Option<TimeInForce>
pub const fn as_bytes(&self) -> &'static [u8] ⓘ
pub const fn as_fix_str(&self) -> &'static FixStr
Trait Implementations§
Source§impl Clone for TimeInForce
impl Clone for TimeInForce
Source§fn clone(&self) -> TimeInForce
fn clone(&self) -> TimeInForce
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 TimeInForce
impl Debug for TimeInForce
Source§impl Default for TimeInForce
impl Default for TimeInForce
Source§fn default() -> TimeInForce
fn default() -> TimeInForce
Returns the “default value” for a type. Read more
Source§impl From<TimeInForce> for &'static [u8]
impl From<TimeInForce> for &'static [u8]
Source§impl PartialEq for TimeInForce
impl PartialEq for TimeInForce
Source§impl ToFixString for TimeInForce
impl ToFixString for TimeInForce
fn to_fix_string(&self) -> FixString
Source§impl TryFrom<u8> for TimeInForce
impl TryFrom<u8> for TimeInForce
Source§type Error = ParseRejectReason
type Error = ParseRejectReason
The type returned in the event of a conversion error.
Source§fn try_from(input: Char) -> Result<TimeInForce, ParseRejectReason>
fn try_from(input: Char) -> Result<TimeInForce, ParseRejectReason>
Performs the conversion.
impl Copy for TimeInForce
impl Eq for TimeInForce
impl StructuralPartialEq for TimeInForce
Auto Trait Implementations§
impl Freeze for TimeInForce
impl RefUnwindSafe for TimeInForce
impl Send for TimeInForce
impl Sync for TimeInForce
impl Unpin for TimeInForce
impl UnwindSafe for TimeInForce
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