Enum easyfix_messages::fields::TickRuleType
source · pub enum TickRuleType {
Regular,
Variable,
Fixed,
TradedAsASpreadLeg,
SettledAsASpreadLeg,
}
Variants§
Implementations§
source§impl TickRuleType
impl TickRuleType
pub const fn from_bytes(input: &[u8]) -> Option<TickRuleType>
pub const fn from_fix_str(input: &FixStr) -> Option<TickRuleType>
pub const fn as_bytes(&self) -> &'static [u8] ⓘ
pub const 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 Default for TickRuleType
impl Default for TickRuleType
source§fn default() -> TickRuleType
fn default() -> TickRuleType
Returns the “default value” for a type. Read more
source§impl From<TickRuleType> for &'static [u8]
impl From<TickRuleType> for &'static [u8]
source§impl PartialEq for TickRuleType
impl PartialEq for TickRuleType
source§impl Serialize for TickRuleType
impl Serialize for TickRuleType
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
source§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.
impl Copy for TickRuleType
impl Eq for TickRuleType
impl StructuralPartialEq for TickRuleType
Auto Trait Implementations§
impl Freeze for TickRuleType
impl RefUnwindSafe for TickRuleType
impl Send for TickRuleType
impl Sync for TickRuleType
impl Unpin for TickRuleType
impl UnwindSafe for TickRuleType
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)