pub enum DataType {
Show 34 variants
String,
Int,
Length,
NumInGroup,
SeqNum,
TagNum,
DayOfMonth,
Float,
Qty,
Price,
PriceOffset,
Amt,
Percentage,
Char,
Boolean,
MultipleCharValue,
MultipleStringValue,
Currency,
Exchange,
Country,
Language,
Xid,
XidRef,
UtcTimestamp,
UtcTimeOnly,
UtcDateOnly,
LocalMktDate,
LocalMktTime,
MonthYear,
TzTimestamp,
TzTimeOnly,
Data,
XmlData,
Other(String),
}Expand description
The FIX data type of a field, as declared in the dictionary.
Variants§
String
Int
Length
NumInGroup
SeqNum
TagNum
DayOfMonth
Float
Qty
Price
PriceOffset
Amt
Percentage
Char
Boolean
MultipleCharValue
MultipleStringValue
Also FIX 4.4’s MultipleValueString.
Currency
Exchange
Country
Language
Xid
XidRef
UtcTimestamp
Also FIX 4.0 and 4.1’s Time.
UtcTimeOnly
UtcDateOnly
Also FIX 4.2 and 4.3’s UtcDate.
LocalMktDate
Also FIX 4.0 and 4.1’s Date.
LocalMktTime
MonthYear
TzTimestamp
TzTimeOnly
Data
XmlData
Other(String)
A type outside the standard, such as a venue’s own.
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_float_based(&self) -> bool
pub fn is_float_based(&self) -> bool
Whether the type is Float 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§
Source§impl Display for DataType
The type’s name in upper case, as dictionaries declare it, or a type outside
the standard as given.
impl Display for DataType
The type’s name in upper case, as dictionaries declare it, or a type outside the standard as given.
impl Eq for DataType
impl StructuralPartialEq for DataType
Auto Trait Implementations§
impl Forget for DataType
impl Freeze for DataType
impl Move 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