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