Enum easyfix_messages::fields::OrderCategory
source · pub enum OrderCategory {
Order,
Quote,
PrivatelyNegotiatedTrade,
MultilegOrder,
LinkedOrder,
QuoteRequest,
ImpliedOrder,
CrossOrder,
StreamingPrice,
}
Variants§
Order
Quote
PrivatelyNegotiatedTrade
MultilegOrder
LinkedOrder
QuoteRequest
ImpliedOrder
CrossOrder
StreamingPrice
Implementations§
source§impl OrderCategory
impl OrderCategory
pub fn from_bytes(input: &[u8]) -> Option<OrderCategory>
pub fn from_fix_str(input: &FixStr) -> Option<OrderCategory>
pub fn as_bytes(&self) -> &'static [u8] ⓘ
pub fn as_fix_str(&self) -> &'static FixStr
Trait Implementations§
source§impl Clone for OrderCategory
impl Clone for OrderCategory
source§fn clone(&self) -> OrderCategory
fn clone(&self) -> OrderCategory
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for OrderCategory
impl Debug for OrderCategory
source§impl From<OrderCategory> for &'static [u8]
impl From<OrderCategory> for &'static [u8]
source§impl PartialEq<OrderCategory> for OrderCategory
impl PartialEq<OrderCategory> for OrderCategory
source§fn eq(&self, other: &OrderCategory) -> bool
fn eq(&self, other: &OrderCategory) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl ToFixString for OrderCategory
impl ToFixString for OrderCategory
fn to_fix_string(&self) -> FixString
source§impl TryFrom<u8> for OrderCategory
impl TryFrom<u8> for OrderCategory
§type Error = SessionRejectReason
type Error = SessionRejectReason
The type returned in the event of a conversion error.
source§fn try_from(input: Char) -> Result<OrderCategory, SessionRejectReason>
fn try_from(input: Char) -> Result<OrderCategory, SessionRejectReason>
Performs the conversion.