Enum MsgType

Source
pub enum MsgType {
Show 115 variants Heartbeat, TestRequest, ResendRequest, Reject, SequenceReset, Logout, Ioi, Advertisement, ExecutionReport, OrderCancelReject, Logon, DerivativeSecurityList, NewOrderMultileg, MultilegOrderCancelReplace, TradeCaptureReportRequest, TradeCaptureReport, OrderMassStatusRequest, QuoteRequestReject, RfqRequest, QuoteStatusReport, QuoteResponse, Confirmation, PositionMaintenanceRequest, PositionMaintenanceReport, RequestForPositions, RequestForPositionsAck, PositionReport, TradeCaptureReportRequestAck, TradeCaptureReportAck, AllocationReport, AllocationReportAck, ConfirmationAck, SettlementInstructionRequest, AssignmentReport, CollateralRequest, CollateralAssignment, CollateralResponse, News, CollateralReport, CollateralInquiry, NetworkCounterpartySystemStatusRequest, NetworkCounterpartySystemStatusResponse, UserRequest, UserResponse, CollateralInquiryAck, ConfirmationRequest, TradingSessionListRequest, TradingSessionList, SecurityListUpdateReport, AdjustedPositionReport, AllocationInstructionAlert, ExecutionAcknowledgement, ContraryIntentionReport, SecurityDefinitionUpdateReport, SettlementObligationReport, DerivativeSecurityListUpdateReport, TradingSessionListUpdateReport, MarketDefinitionRequest, MarketDefinition, MarketDefinitionUpdateReport, ApplicationMessageRequest, ApplicationMessageRequestAck, ApplicationMessageReport, OrderMassActionReport, Email, OrderMassActionRequest, UserNotification, StreamAssignmentRequest, StreamAssignmentReport, StreamAssignmentReportAck, NewOrderSingle, NewOrderList, OrderCancelRequest, OrderCancelReplaceRequest, OrderStatusRequest, AllocationInstruction, ListCancelRequest, ListExecute, ListStatusRequest, ListStatus, AllocationInstructionAck, DontKnowTrade, QuoteRequest, Quote, SettlementInstructions, MarketDataRequest, MarketDataSnapshotFullRefresh, MarketDataIncrementalRefresh, MarketDataRequestReject, QuoteCancel, QuoteStatusRequest, MassQuoteAcknowledgement, SecurityDefinitionRequest, SecurityDefinition, SecurityStatusRequest, SecurityStatus, TradingSessionStatusRequest, TradingSessionStatus, MassQuote, BusinessMessageReject, BidRequest, BidResponse, ListStrikePrice, RegistrationInstructions, RegistrationInstructionsResponse, OrderMassCancelRequest, OrderMassCancelReport, NewOrderCross, CrossOrderCancelReplaceRequest, CrossOrderCancelRequest, SecurityTypeRequest, SecurityTypes, SecurityListRequest, SecurityList, DerivativeSecurityListRequest,
}

Variants§

§

Heartbeat

Value “0”

§

TestRequest

Value “1”

§

ResendRequest

Value “2”

§

Reject

Value “3”

§

SequenceReset

Value “4”

§

Logout

Value “5”

§

Ioi

Value “6”

§

Advertisement

Value “7”

§

ExecutionReport

Value “8”

§

OrderCancelReject

Value “9”

§

Logon

Value “A”

§

DerivativeSecurityList

Value “AA”

§

NewOrderMultileg

Value “AB”

§

MultilegOrderCancelReplace

Value “AC”

§

TradeCaptureReportRequest

Value “AD”

§

TradeCaptureReport

Value “AE”

§

OrderMassStatusRequest

Value “AF”

§

QuoteRequestReject

Value “AG”

§

RfqRequest

Value “AH”

§

QuoteStatusReport

Value “AI”

§

QuoteResponse

Value “AJ”

§

Confirmation

Value “AK”

§

PositionMaintenanceRequest

Value “AL”

§

PositionMaintenanceReport

Value “AM”

§

RequestForPositions

Value “AN”

§

RequestForPositionsAck

Value “AO”

§

PositionReport

Value “AP”

§

TradeCaptureReportRequestAck

Value “AQ”

§

TradeCaptureReportAck

Value “AR”

§

AllocationReport

Value “AS”

§

AllocationReportAck

Value “AT”

§

ConfirmationAck

Value “AU”

§

SettlementInstructionRequest

Value “AV”

§

AssignmentReport

Value “AW”

§

CollateralRequest

Value “AX”

§

CollateralAssignment

Value “AY”

§

CollateralResponse

Value “AZ”

§

News

Value “B”

§

CollateralReport

Value “BA”

§

CollateralInquiry

Value “BB”

§

NetworkCounterpartySystemStatusRequest

Value “BC”

§

NetworkCounterpartySystemStatusResponse

Value “BD”

§

UserRequest

Value “BE”

§

UserResponse

Value “BF”

§

CollateralInquiryAck

Value “BG”

§

ConfirmationRequest

Value “BH”

§

TradingSessionListRequest

Value “BI”

§

TradingSessionList

Value “BJ”

§

SecurityListUpdateReport

Value “BK”

§

AdjustedPositionReport

Value “BL”

§

AllocationInstructionAlert

Value “BM”

§

ExecutionAcknowledgement

Value “BN”

§

ContraryIntentionReport

Value “BO”

§

SecurityDefinitionUpdateReport

Value “BP”

§

SettlementObligationReport

Value “BQ”

§

DerivativeSecurityListUpdateReport

Value “BR”

§

TradingSessionListUpdateReport

Value “BS”

§

MarketDefinitionRequest

Value “BT”

§

MarketDefinition

Value “BU”

§

MarketDefinitionUpdateReport

Value “BV”

§

ApplicationMessageRequest

Value “BW”

§

ApplicationMessageRequestAck

Value “BX”

§

ApplicationMessageReport

Value “BY”

§

OrderMassActionReport

Value “BZ”

§

Email

Value “C”

§

OrderMassActionRequest

Value “CA”

§

UserNotification

Value “CB”

§

StreamAssignmentRequest

Value “CC”

§

StreamAssignmentReport

Value “CD”

§

StreamAssignmentReportAck

Value “CE”

§

NewOrderSingle

Value “D”

§

NewOrderList

Value “E”

§

OrderCancelRequest

Value “F”

§

OrderCancelReplaceRequest

Value “G”

§

OrderStatusRequest

Value “H”

§

AllocationInstruction

Value “J”

§

ListCancelRequest

Value “K”

§

ListExecute

Value “L”

§

ListStatusRequest

Value “M”

§

ListStatus

Value “N”

§

AllocationInstructionAck

Value “P”

§

DontKnowTrade

Value “Q”

§

QuoteRequest

Value “R”

§

Quote

Value “S”

§

SettlementInstructions

Value “T”

§

MarketDataRequest

Value “V”

§

MarketDataSnapshotFullRefresh

Value “W”

§

MarketDataIncrementalRefresh

Value “X”

§

MarketDataRequestReject

Value “Y”

§

QuoteCancel

Value “Z”

§

QuoteStatusRequest

Value “a”

§

MassQuoteAcknowledgement

Value “b”

§

SecurityDefinitionRequest

Value “c”

§

SecurityDefinition

Value “d”

§

SecurityStatusRequest

Value “e”

§

SecurityStatus

Value “f”

§

TradingSessionStatusRequest

Value “g”

§

TradingSessionStatus

Value “h”

§

MassQuote

Value “i”

§

BusinessMessageReject

Value “j”

§

BidRequest

Value “k”

§

BidResponse

Value “l”

§

ListStrikePrice

Value “m”

§

RegistrationInstructions

Value “o”

§

RegistrationInstructionsResponse

Value “p”

§

OrderMassCancelRequest

Value “q”

§

OrderMassCancelReport

Value “r”

§

NewOrderCross

Value “s”

§

CrossOrderCancelReplaceRequest

Value “t”

§

CrossOrderCancelRequest

Value “u”

§

SecurityTypeRequest

Value “v”

§

SecurityTypes

Value “w”

§

SecurityListRequest

Value “x”

§

SecurityList

Value “y”

§

DerivativeSecurityListRequest

Value “z”

Implementations§

Source§

impl MsgType

Source

pub const fn from_bytes(input: &[u8]) -> Option<MsgType>

Source

pub const fn from_fix_str(input: &FixStr) -> Option<MsgType>

Source

pub const fn as_bytes(&self) -> &'static [u8]

Source

pub const fn as_fix_str(&self) -> &'static FixStr

Trait Implementations§

Source§

impl Clone for MsgType

Source§

fn clone(&self) -> MsgType

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 MsgType

Source§

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

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

impl Default for MsgType

Source§

fn default() -> MsgType

Returns the “default value” for a type. Read more
Source§

impl From<MsgType> for &'static [u8]

Source§

fn from(input: MsgType) -> &'static [u8]

Converts to this type from the input type.
Source§

impl Hash for MsgType

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 MsgType

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl ToFixString for MsgType

Source§

impl TryFrom<&FixStr> for MsgType

Source§

type Error = ParseRejectReason

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

fn try_from(input: &FixStr) -> Result<MsgType, ParseRejectReason>

Performs the conversion.
Source§

impl Copy for MsgType

Source§

impl Eq for MsgType

Source§

impl StructuralPartialEq for MsgType

Auto Trait Implementations§

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> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
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,

Source§

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, U> TryFrom<U> for T
where U: Into<T>,

Source§

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>,

Source§

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<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more