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