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