Enum easyfix_messages::fields::DisplayWhen
source · pub enum DisplayWhen {
Immediate,
Exhaust,
}
Variants§
Implementations§
source§impl DisplayWhen
impl DisplayWhen
pub const fn from_bytes(input: &[u8]) -> Option<DisplayWhen>
pub const fn from_fix_str(input: &FixStr) -> Option<DisplayWhen>
pub const fn as_bytes(&self) -> &'static [u8] ⓘ
pub const 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 Default for DisplayWhen
impl Default for DisplayWhen
source§fn default() -> DisplayWhen
fn default() -> DisplayWhen
Returns the “default value” for a type. Read more
source§impl From<DisplayWhen> for &'static [u8]
impl From<DisplayWhen> for &'static [u8]
source§impl PartialEq for DisplayWhen
impl PartialEq 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.
impl Copy for DisplayWhen
impl Eq for DisplayWhen
impl StructuralPartialEq for DisplayWhen
Auto Trait Implementations§
impl RefUnwindSafe for DisplayWhen
impl Send for DisplayWhen
impl Sync for DisplayWhen
impl Unpin for DisplayWhen
impl UnwindSafe for DisplayWhen
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