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