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