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