Enum easyfix_messages::fields::ContAmtType
source · pub enum ContAmtType {
Show 15 variants
CommissionAmount,
CommissionPercent,
InitialChargeAmount,
InitialChargePercent,
DiscountAmount,
DiscountPercent,
DilutionLevyAmount,
DilutionLevyPercent,
ExitChargeAmount,
ExitChargePercent,
FundBasedRenewalCommissionPercent,
ProjectedFundValue,
FundBasedRenewalCommissionAmount13,
FundBasedRenewalCommissionAmount14,
NetSettlementAmount,
}
Variants§
CommissionAmount
CommissionPercent
InitialChargeAmount
InitialChargePercent
DiscountAmount
DiscountPercent
DilutionLevyAmount
DilutionLevyPercent
ExitChargeAmount
ExitChargePercent
FundBasedRenewalCommissionPercent
ProjectedFundValue
FundBasedRenewalCommissionAmount13
FundBasedRenewalCommissionAmount14
NetSettlementAmount
Implementations§
source§impl ContAmtType
impl ContAmtType
pub const fn from_bytes(input: &[u8]) -> Option<ContAmtType>
pub const fn from_fix_str(input: &FixStr) -> Option<ContAmtType>
pub const fn as_bytes(&self) -> &'static [u8] ⓘ
pub const fn as_fix_str(&self) -> &'static FixStr
Trait Implementations§
source§impl Clone for ContAmtType
impl Clone for ContAmtType
source§fn clone(&self) -> ContAmtType
fn clone(&self) -> ContAmtType
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 ContAmtType
impl Debug for ContAmtType
source§impl Default for ContAmtType
impl Default for ContAmtType
source§fn default() -> ContAmtType
fn default() -> ContAmtType
Returns the “default value” for a type. Read more
source§impl From<ContAmtType> for &'static [u8]
impl From<ContAmtType> for &'static [u8]
source§impl PartialEq for ContAmtType
impl PartialEq for ContAmtType
source§impl Serialize for ContAmtType
impl Serialize for ContAmtType
source§impl ToFixString for ContAmtType
impl ToFixString for ContAmtType
fn to_fix_string(&self) -> FixString
source§impl TryFrom<i64> for ContAmtType
impl TryFrom<i64> for ContAmtType
source§type Error = SessionRejectReason
type Error = SessionRejectReason
The type returned in the event of a conversion error.
source§fn try_from(input: Int) -> Result<ContAmtType, SessionRejectReason>
fn try_from(input: Int) -> Result<ContAmtType, SessionRejectReason>
Performs the conversion.
impl Copy for ContAmtType
impl Eq for ContAmtType
impl StructuralPartialEq for ContAmtType
Auto Trait Implementations§
impl Freeze for ContAmtType
impl RefUnwindSafe for ContAmtType
impl Send for ContAmtType
impl Sync for ContAmtType
impl Unpin for ContAmtType
impl UnwindSafe for ContAmtType
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)