Enum easyfix_messages::fields::AdvTransType
source · [−]pub enum AdvTransType {
New,
Cancel,
Replace,
}
Variants
New
Cancel
Replace
Implementations
sourceimpl AdvTransType
impl AdvTransType
pub fn from_bytes(input: &[u8]) -> Option<AdvTransType>
pub fn from_fix_str(input: &FixStr) -> Option<AdvTransType>
pub fn as_bytes(&self) -> &'static [u8]ⓘNotable traits for &[u8]impl Read for &[u8]impl Write for &mut [u8]
pub fn as_fix_str(&self) -> &'static FixStr
Trait Implementations
sourceimpl Clone for AdvTransType
impl Clone for AdvTransType
sourcefn clone(&self) -> AdvTransType
fn clone(&self) -> AdvTransType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for AdvTransType
impl Debug for AdvTransType
sourceimpl From<AdvTransType> for &'static [u8]
impl From<AdvTransType> for &'static [u8]
sourceimpl PartialEq<AdvTransType> for AdvTransType
impl PartialEq<AdvTransType> for AdvTransType
sourceimpl 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.
sourcefn 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 StructuralEq 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more