pub enum AllocRejCode {
Show 15 variants
UnknownAccount,
IncorrectQuantity,
IncorrectAveragegPrice,
UnknownExecutingBrokerMnemonic,
CommissionDifference,
UnknownOrderid,
UnknownListid,
Other7,
IncorrectAllocatedQuantity,
CalculationDifference,
UnknownOrStaleExecid,
MismatchedData,
UnknownClordid,
WarehouseRequestRejected,
Other99,
}
Variants§
UnknownAccount
Value “0”
IncorrectQuantity
Value “1”
IncorrectAveragegPrice
Value “2”
UnknownExecutingBrokerMnemonic
Value “3”
CommissionDifference
Value “4”
UnknownOrderid
Value “5”
UnknownListid
Value “6”
Other7
Value “7”
IncorrectAllocatedQuantity
Value “8”
CalculationDifference
Value “9”
UnknownOrStaleExecid
Value “10”
MismatchedData
Value “11”
UnknownClordid
Value “12”
WarehouseRequestRejected
Value “13”
Other99
Value “99”
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§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
Source§type Error = ParseRejectReason
type Error = ParseRejectReason
The type returned in the event of a conversion error.
Source§fn try_from(input: Int) -> Result<AllocRejCode, ParseRejectReason>
fn try_from(input: Int) -> Result<AllocRejCode, ParseRejectReason>
Performs the conversion.
impl Copy for AllocRejCode
impl Eq for AllocRejCode
impl StructuralPartialEq for AllocRejCode
Auto Trait Implementations§
impl Freeze for AllocRejCode
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