Enum easyfix_messages::fields::TimeInForce
source · pub enum TimeInForce {
Day,
GoodTillCancel,
AtTheOpening,
ImmediateOrCancel,
FillOrKill,
GoodTillCrossing,
GoodTillDate,
AtTheClose,
GoodThroughCrossing,
AtCrossing,
}
Variants§
Day
GoodTillCancel
AtTheOpening
ImmediateOrCancel
FillOrKill
GoodTillCrossing
GoodTillDate
AtTheClose
GoodThroughCrossing
AtCrossing
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§fn eq(&self, other: &TimeInForce) -> bool
fn eq(&self, other: &TimeInForce) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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
§type Error = SessionRejectReason
type Error = SessionRejectReason
The type returned in the event of a conversion error.
source§fn try_from(input: Char) -> Result<TimeInForce, SessionRejectReason>
fn try_from(input: Char) -> Result<TimeInForce, SessionRejectReason>
Performs the conversion.
impl Copy for TimeInForce
impl Eq for TimeInForce
impl StructuralPartialEq for TimeInForce
Auto Trait Implementations§
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