Enum easyfix::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
sourceimpl 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]ⓘNotable traits for &mut [u8]impl Write for &mut [u8]impl Read for &[u8]
pub fn as_fix_str(&self) -> &'static FixStr
Trait Implementations
sourceimpl Clone for OrderCategory
impl Clone for OrderCategory
sourcefn clone(&self) -> OrderCategory
fn clone(&self) -> OrderCategory
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for OrderCategory
impl Debug for OrderCategory
sourceimpl From<OrderCategory> for &'static [u8]
impl From<OrderCategory> for &'static [u8]
sourceimpl PartialEq<OrderCategory> for OrderCategory
impl PartialEq<OrderCategory> for OrderCategory
sourceimpl 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.
sourcefn try_from(input: u8) -> Result<OrderCategory, SessionRejectReason>
fn try_from(input: u8) -> Result<OrderCategory, SessionRejectReason>
Performs the conversion.
impl Copy for OrderCategory
impl Eq for OrderCategory
impl StructuralEq for OrderCategory
impl StructuralPartialEq for OrderCategory
Auto Trait Implementations
impl RefUnwindSafe for OrderCategory
impl Send for OrderCategory
impl Sync for OrderCategory
impl Unpin for OrderCategory
impl UnwindSafe for OrderCategory
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more