Enum easyfix_messages::fields::PegLimitType
source · pub enum PegLimitType {
OrBetter,
Strict,
OrWorse,
}
Variants§
Implementations§
source§impl PegLimitType
impl PegLimitType
pub const fn from_bytes(input: &[u8]) -> Option<PegLimitType>
pub const fn from_fix_str(input: &FixStr) -> Option<PegLimitType>
pub const fn as_bytes(&self) -> &'static [u8] ⓘ
pub const fn as_fix_str(&self) -> &'static FixStr
Trait Implementations§
source§impl Clone for PegLimitType
impl Clone for PegLimitType
source§fn clone(&self) -> PegLimitType
fn clone(&self) -> PegLimitType
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 PegLimitType
impl Debug for PegLimitType
source§impl Default for PegLimitType
impl Default for PegLimitType
source§fn default() -> PegLimitType
fn default() -> PegLimitType
Returns the “default value” for a type. Read more
source§impl From<PegLimitType> for &'static [u8]
impl From<PegLimitType> for &'static [u8]
source§impl PartialEq for PegLimitType
impl PartialEq for PegLimitType
source§fn eq(&self, other: &PegLimitType) -> bool
fn eq(&self, other: &PegLimitType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl ToFixString for PegLimitType
impl ToFixString for PegLimitType
fn to_fix_string(&self) -> FixString
source§impl TryFrom<i64> for PegLimitType
impl TryFrom<i64> for PegLimitType
§type Error = SessionRejectReason
type Error = SessionRejectReason
The type returned in the event of a conversion error.
source§fn try_from(input: Int) -> Result<PegLimitType, SessionRejectReason>
fn try_from(input: Int) -> Result<PegLimitType, SessionRejectReason>
Performs the conversion.
impl Copy for PegLimitType
impl Eq for PegLimitType
impl StructuralPartialEq for PegLimitType
Auto Trait Implementations§
impl Freeze for PegLimitType
impl RefUnwindSafe for PegLimitType
impl Send for PegLimitType
impl Sync for PegLimitType
impl Unpin for PegLimitType
impl UnwindSafe for PegLimitType
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