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