Enum easyfix_messages::fields::QuotePriceType
source · [−]pub enum QuotePriceType {
Percent,
PerShare,
FixedAmount,
Discount,
Premium,
Spread,
TedPrice,
TedYield,
YieldSpread,
Yield,
}
Variants
Percent
PerShare
FixedAmount
Discount
Premium
Spread
TedPrice
TedYield
YieldSpread
Yield
Implementations
sourceimpl 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]ⓘNotable traits for &[u8]impl Read for &[u8]impl Write for &mut [u8]
pub fn as_fix_str(&self) -> &'static FixStr
Trait Implementations
sourceimpl Clone for QuotePriceType
impl Clone for QuotePriceType
sourcefn clone(&self) -> QuotePriceType
fn clone(&self) -> QuotePriceType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for QuotePriceType
impl Debug for QuotePriceType
sourceimpl From<QuotePriceType> for &'static [u8]
impl From<QuotePriceType> for &'static [u8]
sourceimpl PartialEq<QuotePriceType> for QuotePriceType
impl PartialEq<QuotePriceType> for QuotePriceType
sourceimpl ToFixString for QuotePriceType
impl ToFixString for QuotePriceType
fn to_fix_string(&self) -> FixString
sourceimpl 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.
sourcefn 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 StructuralEq 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more