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