pub enum ExecPriceType {
BidPrice,
CreationPrice,
CreationPricePlusAdjustmentPercent,
CreationPricePlusAdjustmentAmount,
OfferPrice,
OfferPriceMinusAdjustmentPercent,
OfferPriceMinusAdjustmentAmount,
SinglePrice,
}
Variants§
BidPrice
Value “B”
CreationPrice
Value “C”
CreationPricePlusAdjustmentPercent
Value “D”
CreationPricePlusAdjustmentAmount
Value “E”
OfferPrice
Value “O”
OfferPriceMinusAdjustmentPercent
Value “P”
OfferPriceMinusAdjustmentAmount
Value “Q”
SinglePrice
Value “S”
Implementations§
Source§impl ExecPriceType
impl ExecPriceType
pub const fn from_bytes(input: &[u8]) -> Option<ExecPriceType>
pub const fn from_fix_str(input: &FixStr) -> Option<ExecPriceType>
pub const fn as_bytes(&self) -> &'static [u8] ⓘ
pub const fn as_fix_str(&self) -> &'static FixStr
Trait Implementations§
Source§impl Clone for ExecPriceType
impl Clone for ExecPriceType
Source§fn clone(&self) -> ExecPriceType
fn clone(&self) -> ExecPriceType
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 ExecPriceType
impl Debug for ExecPriceType
Source§impl Default for ExecPriceType
impl Default for ExecPriceType
Source§fn default() -> ExecPriceType
fn default() -> ExecPriceType
Returns the “default value” for a type. Read more
Source§impl From<ExecPriceType> for &'static [u8]
impl From<ExecPriceType> for &'static [u8]
Source§impl PartialEq for ExecPriceType
impl PartialEq for ExecPriceType
Source§impl ToFixString for ExecPriceType
impl ToFixString for ExecPriceType
fn to_fix_string(&self) -> FixString
Source§impl TryFrom<u8> for ExecPriceType
impl TryFrom<u8> for ExecPriceType
Source§type Error = ParseRejectReason
type Error = ParseRejectReason
The type returned in the event of a conversion error.
Source§fn try_from(input: Char) -> Result<ExecPriceType, ParseRejectReason>
fn try_from(input: Char) -> Result<ExecPriceType, ParseRejectReason>
Performs the conversion.
impl Copy for ExecPriceType
impl Eq for ExecPriceType
impl StructuralPartialEq for ExecPriceType
Auto Trait Implementations§
impl Freeze for ExecPriceType
impl RefUnwindSafe for ExecPriceType
impl Send for ExecPriceType
impl Sync for ExecPriceType
impl Unpin for ExecPriceType
impl UnwindSafe for ExecPriceType
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