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