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