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