Enum easyfix_messages::fields::QuotePriceType
source · pub enum QuotePriceType {
Percent,
PerShare,
FixedAmount,
Discount,
Premium,
Spread,
TedPrice,
TedYield,
YieldSpread,
Yield,
}
Variants§
Implementations§
source§impl QuotePriceType
impl QuotePriceType
pub fn from_bytes(input: &[u8]) -> Option<QuotePriceType>
pub fn from_fix_str(input: &FixStr) -> Option<QuotePriceType>
pub fn as_bytes(&self) -> &'static [u8] ⓘ
pub fn as_fix_str(&self) -> &'static FixStr
Trait Implementations§
source§impl Clone for QuotePriceType
impl Clone for QuotePriceType
source§fn clone(&self) -> QuotePriceType
fn clone(&self) -> QuotePriceType
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 QuotePriceType
impl Debug for QuotePriceType
source§impl From<QuotePriceType> for &'static [u8]
impl From<QuotePriceType> for &'static [u8]
source§impl PartialEq<QuotePriceType> for QuotePriceType
impl PartialEq<QuotePriceType> for QuotePriceType
source§fn eq(&self, other: &QuotePriceType) -> bool
fn eq(&self, other: &QuotePriceType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl ToFixString for QuotePriceType
impl ToFixString for QuotePriceType
fn to_fix_string(&self) -> FixString
source§impl TryFrom<i64> for QuotePriceType
impl TryFrom<i64> for QuotePriceType
§type Error = SessionRejectReason
type Error = SessionRejectReason
The type returned in the event of a conversion error.
source§fn try_from(input: Int) -> Result<QuotePriceType, SessionRejectReason>
fn try_from(input: Int) -> Result<QuotePriceType, SessionRejectReason>
Performs the conversion.