Enum easyfix_messages::fields::DisplayWhen
source · pub enum DisplayWhen {
Immediate,
Exhaust,
}
Variants§
Implementations§
source§impl DisplayWhen
impl DisplayWhen
pub fn from_bytes(input: &[u8]) -> Option<DisplayWhen>
pub fn from_fix_str(input: &FixStr) -> Option<DisplayWhen>
pub fn as_bytes(&self) -> &'static [u8] ⓘ
pub fn as_fix_str(&self) -> &'static FixStr
Trait Implementations§
source§impl Clone for DisplayWhen
impl Clone for DisplayWhen
source§fn clone(&self) -> DisplayWhen
fn clone(&self) -> DisplayWhen
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 DisplayWhen
impl Debug for DisplayWhen
source§impl From<DisplayWhen> for &'static [u8]
impl From<DisplayWhen> for &'static [u8]
source§impl PartialEq<DisplayWhen> for DisplayWhen
impl PartialEq<DisplayWhen> for DisplayWhen
source§fn eq(&self, other: &DisplayWhen) -> bool
fn eq(&self, other: &DisplayWhen) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl ToFixString for DisplayWhen
impl ToFixString for DisplayWhen
fn to_fix_string(&self) -> FixString
source§impl TryFrom<u8> for DisplayWhen
impl TryFrom<u8> for DisplayWhen
§type Error = SessionRejectReason
type Error = SessionRejectReason
The type returned in the event of a conversion error.
source§fn try_from(input: Char) -> Result<DisplayWhen, SessionRejectReason>
fn try_from(input: Char) -> Result<DisplayWhen, SessionRejectReason>
Performs the conversion.