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