Enum cfix::types::Field

source ·
#[repr(u32)]
pub enum Field {
Show 87 variants AvgPx = 6, BeginSeqNo = 7, BeginString = 8, BodyLength = 9, CheckSum = 10, ClOrdId = 11, CumQty = 14, EndSeqNo = 16, OrdQty = 32, MsgSeqNum = 34, MsgType = 35, NewSeqNo = 36, OrderID = 37, OrderQty = 38, OrdStatus = 39, OrdType = 40, OrigClOrdID = 41, Price = 44, RefSeqNum = 45, SenderCompID = 49, SenderSubID = 50, SendingTime = 52, Side = 54, Symbol = 55, TargetCompID = 56, TargetSubID = 57, Text = 58, TimeInForce = 59, TransactTime = 60, EncryptMethod = 98, StopPx = 99, OrdRejReason = 103, HeartBtInt = 108, TestReqID = 112, GapFillFlag = 123, ExpireTime = 126, ResetSeqNumFlag = 141, NoRelatedSym = 146, ExecType = 150, LeavesQty = 151, IssueDate = 225, MDReqID = 262, SubscriptionRequestType = 263, MarketDepth = 264, MDUpdateType = 265, NoMDEntryTypes = 267, NoMDEntries = 268, MDEntryType = 269, MDEntryPx = 270, MDEntrySize = 271, MDEntryID = 278, MDUpdateAction = 279, SecurityReqID = 320, SecurityResponseID = 322, EncodedTextLen = 354, EncodedText = 355, RefTagID = 371, RefMsgType = 372, SessionRejectReason = 373, BusinessRejectRefID = 379, BusinessRejectReason = 380, CxlRejResponseTo = 434, Designation = 494, Username = 553, Password = 554, SecurityListRequestType = 559, SecurityRequestResult = 560, MassStatusReqID = 584, MassStatusReqType = 585, NoPositions = 702, LongQty = 704, ShortQty = 705, PosReqID = 710, PosMaintRptID = 721, TotalNumPosReports = 727, PosReqResult = 728, SettlPrice = 730, TotNumReports = 911, AbsoluteTP = 1_000, RelativeTP = 1_001, AbsoluteSL = 1_002, RelativeSL = 1_003, TrailingSL = 1_004, TriggerMethodSL = 1_005, GuaranteedSL = 1_006, SymbolName = 1_007, SymbolDigits = 1_008,
}

Variants§

§

AvgPx = 6

§

BeginSeqNo = 7

§

BeginString = 8

§

BodyLength = 9

§

CheckSum = 10

§

ClOrdId = 11

§

CumQty = 14

§

EndSeqNo = 16

§

OrdQty = 32

§

MsgSeqNum = 34

§

MsgType = 35

§

NewSeqNo = 36

§

OrderID = 37

§

OrderQty = 38

§

OrdStatus = 39

§

OrdType = 40

§

OrigClOrdID = 41

§

Price = 44

§

RefSeqNum = 45

§

SenderCompID = 49

§

SenderSubID = 50

§

SendingTime = 52

§

Side = 54

§

Symbol = 55

§

TargetCompID = 56

§

TargetSubID = 57

§

Text = 58

§

TimeInForce = 59

§

TransactTime = 60

§

EncryptMethod = 98

§

StopPx = 99

§

OrdRejReason = 103

§

HeartBtInt = 108

§

TestReqID = 112

§

GapFillFlag = 123

§

ExpireTime = 126

§

ResetSeqNumFlag = 141

§

NoRelatedSym = 146

§

ExecType = 150

§

LeavesQty = 151

§

IssueDate = 225

§

MDReqID = 262

§

SubscriptionRequestType = 263

§

MarketDepth = 264

§

MDUpdateType = 265

§

NoMDEntryTypes = 267

§

NoMDEntries = 268

§

MDEntryType = 269

§

MDEntryPx = 270

§

MDEntrySize = 271

§

MDEntryID = 278

§

MDUpdateAction = 279

§

SecurityReqID = 320

§

SecurityResponseID = 322

§

EncodedTextLen = 354

§

EncodedText = 355

§

RefTagID = 371

§

RefMsgType = 372

§

SessionRejectReason = 373

§

BusinessRejectRefID = 379

§

BusinessRejectReason = 380

§

CxlRejResponseTo = 434

§

Designation = 494

§

Username = 553

§

Password = 554

§

SecurityListRequestType = 559

§

SecurityRequestResult = 560

§

MassStatusReqID = 584

§

MassStatusReqType = 585

§

NoPositions = 702

§

LongQty = 704

§

ShortQty = 705

§

PosReqID = 710

§

PosMaintRptID = 721

§

TotalNumPosReports = 727

§

PosReqResult = 728

§

SettlPrice = 730

§

TotNumReports = 911

§

AbsoluteTP = 1_000

§

RelativeTP = 1_001

§

AbsoluteSL = 1_002

§

RelativeSL = 1_003

§

TrailingSL = 1_004

§

TriggerMethodSL = 1_005

§

GuaranteedSL = 1_006

§

SymbolName = 1_007

§

SymbolDigits = 1_008

Trait Implementations§

source§

impl Clone for Field

source§

fn clone(&self) -> Field

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Field

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for Field

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<Field> for u32

source§

fn from(enum_value: Field) -> Self

Converts to this type from the input type.
source§

impl Hash for Field

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq for Field

source§

fn eq(&self, other: &Field) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl TryFrom<u32> for Field

§

type Error = TryFromPrimitiveError<Field>

The type returned in the event of a conversion error.
source§

fn try_from(number: u32) -> Result<Self, TryFromPrimitiveError<Self>>

Performs the conversion.
source§

impl TryFromPrimitive for Field

§

type Primitive = u32

§

type Error = TryFromPrimitiveError<Field>

source§

const NAME: &'static str = "Field"

source§

fn try_from_primitive( number: Self::Primitive ) -> Result<Self, TryFromPrimitiveError<Self>>

source§

impl Copy for Field

source§

impl Eq for Field

source§

impl StructuralPartialEq for Field

Auto Trait Implementations§

§

impl Freeze for Field

§

impl RefUnwindSafe for Field

§

impl Send for Field

§

impl Sync for Field

§

impl Unpin for Field

§

impl UnwindSafe for Field

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

source§

fn vzip(self) -> V