Enum easyfix::fields::MdBookType
source · [−]pub enum MdBookType {
TopOfBook,
PriceDepth,
OrderDepth,
}
Variants
TopOfBook
PriceDepth
OrderDepth
Implementations
sourceimpl MdBookType
impl MdBookType
pub fn from_bytes(input: &[u8]) -> Option<MdBookType>
pub fn from_fix_str(input: &FixStr) -> Option<MdBookType>
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 MdBookType
impl Clone for MdBookType
sourcefn clone(&self) -> MdBookType
fn clone(&self) -> MdBookType
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 MdBookType
impl Debug for MdBookType
sourceimpl From<MdBookType> for &'static [u8]
impl From<MdBookType> for &'static [u8]
sourceimpl PartialEq<MdBookType> for MdBookType
impl PartialEq<MdBookType> for MdBookType
sourceimpl TryFrom<i64> for MdBookType
impl TryFrom<i64> for MdBookType
type Error = SessionRejectReason
type Error = SessionRejectReason
The type returned in the event of a conversion error.
sourcefn try_from(input: i64) -> Result<MdBookType, SessionRejectReason>
fn try_from(input: i64) -> Result<MdBookType, SessionRejectReason>
Performs the conversion.
impl Copy for MdBookType
impl Eq for MdBookType
impl StructuralEq for MdBookType
impl StructuralPartialEq for MdBookType
Auto Trait Implementations
impl RefUnwindSafe for MdBookType
impl Send for MdBookType
impl Sync for MdBookType
impl Unpin for MdBookType
impl UnwindSafe for MdBookType
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