Enum easyfix_messages::fields::DeleteReason
source · pub enum DeleteReason {
Cancellation,
Error,
}
Variants§
Implementations§
source§impl DeleteReason
impl DeleteReason
pub fn from_bytes(input: &[u8]) -> Option<DeleteReason>
pub fn from_fix_str(input: &FixStr) -> Option<DeleteReason>
pub fn as_bytes(&self) -> &'static [u8] ⓘ
pub fn as_fix_str(&self) -> &'static FixStr
Trait Implementations§
source§impl Clone for DeleteReason
impl Clone for DeleteReason
source§fn clone(&self) -> DeleteReason
fn clone(&self) -> DeleteReason
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 DeleteReason
impl Debug for DeleteReason
source§impl From<DeleteReason> for &'static [u8]
impl From<DeleteReason> for &'static [u8]
source§impl PartialEq<DeleteReason> for DeleteReason
impl PartialEq<DeleteReason> for DeleteReason
source§fn eq(&self, other: &DeleteReason) -> bool
fn eq(&self, other: &DeleteReason) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl ToFixString for DeleteReason
impl ToFixString for DeleteReason
fn to_fix_string(&self) -> FixString
source§impl TryFrom<u8> for DeleteReason
impl TryFrom<u8> for DeleteReason
§type Error = SessionRejectReason
type Error = SessionRejectReason
The type returned in the event of a conversion error.
source§fn try_from(input: Char) -> Result<DeleteReason, SessionRejectReason>
fn try_from(input: Char) -> Result<DeleteReason, SessionRejectReason>
Performs the conversion.