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 const fn from_bytes(input: &[u8]) -> Option<QuotePriceType>
pub const fn from_fix_str(input: &FixStr) -> Option<QuotePriceType>
pub const fn as_bytes(&self) -> &'static [u8] ⓘ
pub const 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 Default for QuotePriceType
impl Default for QuotePriceType
source§fn default() -> QuotePriceType
fn default() -> QuotePriceType
Returns the “default value” for a type. Read more
source§impl From<QuotePriceType> for &'static [u8]
impl From<QuotePriceType> for &'static [u8]
source§impl PartialEq for QuotePriceType
impl PartialEq 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.
impl Copy for QuotePriceType
impl Eq for QuotePriceType
impl StructuralPartialEq for QuotePriceType
Auto Trait Implementations§
impl RefUnwindSafe for QuotePriceType
impl Send for QuotePriceType
impl Sync for QuotePriceType
impl Unpin for QuotePriceType
impl UnwindSafe for QuotePriceType
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