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 fn from_bytes(input: &[u8]) -> Option<ContAmtType>
pub fn from_fix_str(input: &FixStr) -> Option<ContAmtType>
pub fn as_bytes(&self) -> &'static [u8] ⓘ
pub 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 From<ContAmtType> for &'static [u8]
impl From<ContAmtType> for &'static [u8]
source§impl PartialEq<ContAmtType> for ContAmtType
impl PartialEq<ContAmtType> for ContAmtType
source§fn eq(&self, other: &ContAmtType) -> bool
fn eq(&self, other: &ContAmtType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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
§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.