Enum easyfix_messages::fields::DiscretionInst
source · pub enum DiscretionInst {
RelatedToDisplayedPrice,
RelatedToMarketPrice,
RelatedToPrimaryPrice,
RelatedToLocalPrimaryPrice,
RelatedToMidpointPrice,
RelatedToLastTradePrice,
RelatedToVwap,
AveragePriceGuarantee,
}
Variants§
RelatedToDisplayedPrice
RelatedToMarketPrice
RelatedToPrimaryPrice
RelatedToLocalPrimaryPrice
RelatedToMidpointPrice
RelatedToLastTradePrice
RelatedToVwap
AveragePriceGuarantee
Implementations§
source§impl DiscretionInst
impl DiscretionInst
pub fn from_bytes(input: &[u8]) -> Option<DiscretionInst>
pub fn from_fix_str(input: &FixStr) -> Option<DiscretionInst>
pub fn as_bytes(&self) -> &'static [u8] ⓘ
pub 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 From<DiscretionInst> for &'static [u8]
impl From<DiscretionInst> for &'static [u8]
source§impl PartialEq<DiscretionInst> for DiscretionInst
impl PartialEq<DiscretionInst> for DiscretionInst
source§fn eq(&self, other: &DiscretionInst) -> bool
fn eq(&self, other: &DiscretionInst) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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
§type Error = SessionRejectReason
type Error = SessionRejectReason
The type returned in the event of a conversion error.
source§fn try_from(input: Char) -> Result<DiscretionInst, SessionRejectReason>
fn try_from(input: Char) -> Result<DiscretionInst, SessionRejectReason>
Performs the conversion.