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