pub enum DataType {
String,
Int,
Length,
NumInGroup,
SeqNum,
TagNum,
DayOfMonth,
Char,
MultipleCharValue,
MultipleStringValue,
Other(String),
}Expand description
The FIX data type of a field, as declared in the dictionary.
Variants§
String
Int
Length
NumInGroup
SeqNum
TagNum
DayOfMonth
Char
MultipleCharValue
MultipleStringValue
Also FIX 4.4’s MultipleValueString.
Other(String)
A type no consumer interprets yet, e.g. "PRICE".
Implementations§
Source§impl DataType
impl DataType
Sourcepub fn is_int_based(&self) -> bool
pub fn is_int_based(&self) -> bool
Whether the type is Int or one of its subtypes.
Sourcepub fn is_multiple_value(&self) -> bool
pub fn is_multiple_value(&self) -> bool
Whether the type holds space-delimited values, as ExecInst(18) does.
Trait Implementations§
impl Eq for DataType
impl StructuralPartialEq for DataType
Auto Trait Implementations§
impl Freeze for DataType
impl RefUnwindSafe for DataType
impl Send for DataType
impl Sync for DataType
impl Unpin for DataType
impl UnsafeUnpin for DataType
impl UnwindSafe for DataType
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