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