Enum easyfix_messages::fields::PriceQuoteMethod
source · pub enum PriceQuoteMethod {
StandardMoneyPerUnitOfAPhysical,
Index,
InterestRateIndex,
PercentOfPar,
}
Variants§
Implementations§
source§impl PriceQuoteMethod
impl PriceQuoteMethod
pub const fn from_bytes(input: &[u8]) -> Option<PriceQuoteMethod>
pub const fn from_fix_str(input: &FixStr) -> Option<PriceQuoteMethod>
pub const fn as_bytes(&self) -> &'static [u8] ⓘ
pub const 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 Default for PriceQuoteMethod
impl Default for PriceQuoteMethod
source§fn default() -> PriceQuoteMethod
fn default() -> PriceQuoteMethod
Returns the “default value” for a type. Read more
source§impl From<PriceQuoteMethod> for &'static [u8]
impl From<PriceQuoteMethod> for &'static [u8]
source§impl PartialEq for PriceQuoteMethod
impl PartialEq 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.
impl Copy for PriceQuoteMethod
impl Eq for PriceQuoteMethod
impl StructuralPartialEq for PriceQuoteMethod
Auto Trait Implementations§
impl RefUnwindSafe for PriceQuoteMethod
impl Send for PriceQuoteMethod
impl Sync for PriceQuoteMethod
impl Unpin for PriceQuoteMethod
impl UnwindSafe for PriceQuoteMethod
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