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