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 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§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.
impl Copy for DiscretionInst
impl Eq for DiscretionInst
impl StructuralPartialEq for DiscretionInst
Auto Trait Implementations§
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