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