Enum easyfix::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
sourceimpl AllocRejCode
impl AllocRejCode
pub fn from_bytes(input: &[u8]) -> Option<AllocRejCode>
pub fn from_fix_str(input: &FixStr) -> Option<AllocRejCode>
pub fn as_bytes(&self) -> &'static [u8]ⓘNotable traits for &mut [u8]impl Write for &mut [u8]impl Read for &[u8]
pub fn as_fix_str(&self) -> &'static FixStr
Trait Implementations
sourceimpl Clone for AllocRejCode
impl Clone for AllocRejCode
sourcefn clone(&self) -> AllocRejCode
fn clone(&self) -> AllocRejCode
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 AllocRejCode
impl Debug for AllocRejCode
sourceimpl From<AllocRejCode> for &'static [u8]
impl From<AllocRejCode> for &'static [u8]
sourceimpl PartialEq<AllocRejCode> for AllocRejCode
impl PartialEq<AllocRejCode> for AllocRejCode
sourceimpl 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.
sourcefn try_from(input: i64) -> Result<AllocRejCode, SessionRejectReason>
fn try_from(input: i64) -> Result<AllocRejCode, SessionRejectReason>
Performs the conversion.
impl Copy for AllocRejCode
impl Eq for AllocRejCode
impl StructuralEq 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
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