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