Enum easyfix_messages::fields::MdOriginType
source · pub enum MdOriginType {
Book,
OffBook,
Cross,
}
Variants§
Implementations§
source§impl MdOriginType
impl MdOriginType
pub fn from_bytes(input: &[u8]) -> Option<MdOriginType>
pub fn from_fix_str(input: &FixStr) -> Option<MdOriginType>
pub fn as_bytes(&self) -> &'static [u8] ⓘ
pub fn as_fix_str(&self) -> &'static FixStr
Trait Implementations§
source§impl Clone for MdOriginType
impl Clone for MdOriginType
source§fn clone(&self) -> MdOriginType
fn clone(&self) -> MdOriginType
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 MdOriginType
impl Debug for MdOriginType
source§impl From<MdOriginType> for &'static [u8]
impl From<MdOriginType> for &'static [u8]
source§impl PartialEq<MdOriginType> for MdOriginType
impl PartialEq<MdOriginType> for MdOriginType
source§fn eq(&self, other: &MdOriginType) -> bool
fn eq(&self, other: &MdOriginType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl ToFixString for MdOriginType
impl ToFixString for MdOriginType
fn to_fix_string(&self) -> FixString
source§impl TryFrom<i64> for MdOriginType
impl TryFrom<i64> for MdOriginType
§type Error = SessionRejectReason
type Error = SessionRejectReason
The type returned in the event of a conversion error.
source§fn try_from(input: Int) -> Result<MdOriginType, SessionRejectReason>
fn try_from(input: Int) -> Result<MdOriginType, SessionRejectReason>
Performs the conversion.
impl Copy for MdOriginType
impl Eq for MdOriginType
impl StructuralEq for MdOriginType
impl StructuralPartialEq for MdOriginType
Auto Trait Implementations§
impl RefUnwindSafe for MdOriginType
impl Send for MdOriginType
impl Sync for MdOriginType
impl Unpin for MdOriginType
impl UnwindSafe for MdOriginType
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