pub enum RateSourceType {
Primary,
Secondary,
}
Variants§
Implementations§
source§impl RateSourceType
impl RateSourceType
pub const fn from_bytes(input: &[u8]) -> Option<RateSourceType>
pub const fn from_fix_str(input: &FixStr) -> Option<RateSourceType>
pub const fn as_bytes(&self) -> &'static [u8] ⓘ
pub const 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.6.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 Default for RateSourceType
impl Default for RateSourceType
source§fn default() -> RateSourceType
fn default() -> RateSourceType
Returns the “default value” for a type. Read more
source§impl From<RateSourceType> for &'static [u8]
impl From<RateSourceType> for &'static [u8]
source§impl PartialEq for RateSourceType
impl PartialEq for RateSourceType
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
source§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 StructuralPartialEq for RateSourceType
Auto Trait Implementations§
impl Freeze for RateSourceType
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)