pub struct FixMsgType(/* private fields */);Expand description
FIX MsgType(35) identifier.
This type is intentionally a borrowed static byte wrapper so known message
types can be compared without allocation while custom profile-specific
message types can still be represented through FixMsgType::from_static.
Implementations§
Source§impl FixMsgType
impl FixMsgType
Sourcepub const TEST_REQUEST: Self
pub const TEST_REQUEST: Self
TestRequest(1).
Sourcepub const RESEND_REQUEST: Self
pub const RESEND_REQUEST: Self
ResendRequest(2).
Sourcepub const SEQUENCE_RESET: Self
pub const SEQUENCE_RESET: Self
SequenceReset(4).
Sourcepub const EXECUTION_REPORT: Self
pub const EXECUTION_REPORT: Self
ExecutionReport(8).
Sourcepub const ORDER_CANCEL_REJECT: Self
pub const ORDER_CANCEL_REJECT: Self
OrderCancelReject(9).
Sourcepub const NEW_ORDER_SINGLE: Self
pub const NEW_ORDER_SINGLE: Self
NewOrderSingle(D).
Sourcepub const ORDER_CANCEL_REQUEST: Self
pub const ORDER_CANCEL_REQUEST: Self
OrderCancelRequest(F).
Sourcepub const ORDER_CANCEL_REPLACE_REQUEST: Self
pub const ORDER_CANCEL_REPLACE_REQUEST: Self
OrderCancelReplaceRequest(G).
Sourcepub const ORDER_STATUS_REQUEST: Self
pub const ORDER_STATUS_REQUEST: Self
OrderStatusRequest(H).
Sourcepub const BUSINESS_MESSAGE_REJECT: Self
pub const BUSINESS_MESSAGE_REJECT: Self
BusinessMessageReject(j).
Sourcepub const ORDER_MASS_CANCEL_REQUEST: Self
pub const ORDER_MASS_CANCEL_REQUEST: Self
OrderMassCancelRequest(q).
Sourcepub const ORDER_MASS_STATUS_REQUEST: Self
pub const ORDER_MASS_STATUS_REQUEST: Self
OrderMassStatusRequest(AF).
Sourcepub const fn from_static(value: &'static [u8]) -> Self
pub const fn from_static(value: &'static [u8]) -> Self
Creates a message type from a static byte slice.
Use this for venue-defined or extension-pack message types when a dictionary/profile wants to validate them without allocating.
Sourcepub fn from_bytes(value: &[u8]) -> Option<Self>
pub fn from_bytes(value: &[u8]) -> Option<Self>
Parses a known message type.
Trait Implementations§
Source§impl Clone for FixMsgType
impl Clone for FixMsgType
impl Copy for FixMsgType
Source§impl Debug for FixMsgType
impl Debug for FixMsgType
Source§impl Display for FixMsgType
impl Display for FixMsgType
impl Eq for FixMsgType
Source§impl Hash for FixMsgType
impl Hash for FixMsgType
Source§impl Ord for FixMsgType
impl Ord for FixMsgType
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for FixMsgType
impl PartialEq for FixMsgType
Source§impl PartialOrd for FixMsgType
impl PartialOrd for FixMsgType
impl StructuralPartialEq for FixMsgType
Auto Trait Implementations§
impl Freeze for FixMsgType
impl RefUnwindSafe for FixMsgType
impl Send for FixMsgType
impl Sync for FixMsgType
impl Unpin for FixMsgType
impl UnsafeUnpin for FixMsgType
impl UnwindSafe for FixMsgType
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