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