Enum easyfix_messages::fields::TriggerOrderType
source · pub enum TriggerOrderType {
Market,
Limit,
}
Variants§
Implementations§
source§impl TriggerOrderType
impl TriggerOrderType
pub const fn from_bytes(input: &[u8]) -> Option<TriggerOrderType>
pub const fn from_fix_str(input: &FixStr) -> Option<TriggerOrderType>
pub const fn as_bytes(&self) -> &'static [u8] ⓘ
pub const fn as_fix_str(&self) -> &'static FixStr
Trait Implementations§
source§impl Clone for TriggerOrderType
impl Clone for TriggerOrderType
source§fn clone(&self) -> TriggerOrderType
fn clone(&self) -> TriggerOrderType
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 TriggerOrderType
impl Debug for TriggerOrderType
source§impl Default for TriggerOrderType
impl Default for TriggerOrderType
source§fn default() -> TriggerOrderType
fn default() -> TriggerOrderType
Returns the “default value” for a type. Read more
source§impl From<TriggerOrderType> for &'static [u8]
impl From<TriggerOrderType> for &'static [u8]
source§impl PartialEq for TriggerOrderType
impl PartialEq for TriggerOrderType
source§fn eq(&self, other: &TriggerOrderType) -> bool
fn eq(&self, other: &TriggerOrderType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl ToFixString for TriggerOrderType
impl ToFixString for TriggerOrderType
fn to_fix_string(&self) -> FixString
source§impl TryFrom<u8> for TriggerOrderType
impl TryFrom<u8> for TriggerOrderType
§type Error = SessionRejectReason
type Error = SessionRejectReason
The type returned in the event of a conversion error.
source§fn try_from(input: Char) -> Result<TriggerOrderType, SessionRejectReason>
fn try_from(input: Char) -> Result<TriggerOrderType, SessionRejectReason>
Performs the conversion.
impl Copy for TriggerOrderType
impl Eq for TriggerOrderType
impl StructuralPartialEq for TriggerOrderType
Auto Trait Implementations§
impl Freeze for TriggerOrderType
impl RefUnwindSafe for TriggerOrderType
impl Send for TriggerOrderType
impl Sync for TriggerOrderType
impl Unpin for TriggerOrderType
impl UnwindSafe for TriggerOrderType
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