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