Enum easyfix_messages::fields::MdOriginType
source · pub enum MdOriginType {
Book,
OffBook,
Cross,
}
Variants§
Implementations§
source§impl MdOriginType
impl MdOriginType
pub const fn from_bytes(input: &[u8]) -> Option<MdOriginType>
pub const fn from_fix_str(input: &FixStr) -> Option<MdOriginType>
pub const fn as_bytes(&self) -> &'static [u8] ⓘ
pub const 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 Default for MdOriginType
impl Default for MdOriginType
source§fn default() -> MdOriginType
fn default() -> MdOriginType
Returns the “default value” for a type. Read more
source§impl From<MdOriginType> for &'static [u8]
impl From<MdOriginType> for &'static [u8]
source§impl PartialEq for MdOriginType
impl PartialEq for MdOriginType
source§impl Serialize for MdOriginType
impl Serialize for MdOriginType
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
source§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 StructuralPartialEq for MdOriginType
Auto Trait Implementations§
impl Freeze for MdOriginType
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)