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