pub enum DiscretionInst {
RelatedToDisplayedPrice,
RelatedToMarketPrice,
RelatedToPrimaryPrice,
RelatedToLocalPrimaryPrice,
RelatedToMidpointPrice,
RelatedToLastTradePrice,
RelatedToVwap,
AveragePriceGuarantee,
}
Variants§
RelatedToDisplayedPrice
Value “0”
RelatedToMarketPrice
Value “1”
RelatedToPrimaryPrice
Value “2”
RelatedToLocalPrimaryPrice
Value “3”
RelatedToMidpointPrice
Value “4”
RelatedToLastTradePrice
Value “5”
RelatedToVwap
Value “6”
AveragePriceGuarantee
Value “7”
Implementations§
Source§impl DiscretionInst
impl DiscretionInst
pub const fn from_bytes(input: &[u8]) -> Option<DiscretionInst>
pub const fn from_fix_str(input: &FixStr) -> Option<DiscretionInst>
pub const fn as_bytes(&self) -> &'static [u8] ⓘ
pub const fn as_fix_str(&self) -> &'static FixStr
Trait Implementations§
Source§impl Clone for DiscretionInst
impl Clone for DiscretionInst
Source§fn clone(&self) -> DiscretionInst
fn clone(&self) -> DiscretionInst
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 DiscretionInst
impl Debug for DiscretionInst
Source§impl Default for DiscretionInst
impl Default for DiscretionInst
Source§fn default() -> DiscretionInst
fn default() -> DiscretionInst
Returns the “default value” for a type. Read more
Source§impl From<DiscretionInst> for &'static [u8]
impl From<DiscretionInst> for &'static [u8]
Source§impl PartialEq for DiscretionInst
impl PartialEq for DiscretionInst
Source§impl ToFixString for DiscretionInst
impl ToFixString for DiscretionInst
fn to_fix_string(&self) -> FixString
Source§impl TryFrom<u8> for DiscretionInst
impl TryFrom<u8> for DiscretionInst
Source§type Error = ParseRejectReason
type Error = ParseRejectReason
The type returned in the event of a conversion error.
Source§fn try_from(input: Char) -> Result<DiscretionInst, ParseRejectReason>
fn try_from(input: Char) -> Result<DiscretionInst, ParseRejectReason>
Performs the conversion.
impl Copy for DiscretionInst
impl Eq for DiscretionInst
impl StructuralPartialEq for DiscretionInst
Auto Trait Implementations§
impl Freeze for DiscretionInst
impl RefUnwindSafe for DiscretionInst
impl Send for DiscretionInst
impl Sync for DiscretionInst
impl Unpin for DiscretionInst
impl UnwindSafe for DiscretionInst
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