Enum easyfix_messages::fields::PosAmtType
source · pub enum PosAmtType {
Show 18 variants
CashAmount,
CashResidualAmount,
FinalMarkToMarketAmount,
IncrementalMarkToMarketAmount,
PremiumAmount,
StartOfDayMarkToMarketAmount,
TradeVariationAmount,
ValueAdjustedAmount,
SettlementValue,
InitialTradeCouponAmount,
AccruedCouponAmount,
CouponAmount,
IncrementalAccruedCoupon,
CollateralizedMarkToMarket,
IncrementalCollateralizedMarkToMarket,
CompensationAmount,
TotalBankedAmount,
TotalCollateralizedAmount,
}
Variants§
CashAmount
CashResidualAmount
FinalMarkToMarketAmount
IncrementalMarkToMarketAmount
PremiumAmount
StartOfDayMarkToMarketAmount
TradeVariationAmount
ValueAdjustedAmount
SettlementValue
InitialTradeCouponAmount
AccruedCouponAmount
CouponAmount
IncrementalAccruedCoupon
CollateralizedMarkToMarket
IncrementalCollateralizedMarkToMarket
CompensationAmount
TotalBankedAmount
TotalCollateralizedAmount
Implementations§
source§impl PosAmtType
impl PosAmtType
pub fn from_bytes(input: &[u8]) -> Option<PosAmtType>
pub fn from_fix_str(input: &FixStr) -> Option<PosAmtType>
pub fn as_bytes(&self) -> &'static [u8] ⓘ
pub fn as_fix_str(&self) -> &'static FixStr
Trait Implementations§
source§impl Clone for PosAmtType
impl Clone for PosAmtType
source§fn clone(&self) -> PosAmtType
fn clone(&self) -> PosAmtType
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 PosAmtType
impl Debug for PosAmtType
source§impl From<PosAmtType> for &'static [u8]
impl From<PosAmtType> for &'static [u8]
source§impl PartialEq<PosAmtType> for PosAmtType
impl PartialEq<PosAmtType> for PosAmtType
source§fn eq(&self, other: &PosAmtType) -> bool
fn eq(&self, other: &PosAmtType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl ToFixString for PosAmtType
impl ToFixString for PosAmtType
fn to_fix_string(&self) -> FixString
source§impl TryFrom<&FixStr> for PosAmtType
impl TryFrom<&FixStr> for PosAmtType
§type Error = SessionRejectReason
type Error = SessionRejectReason
The type returned in the event of a conversion error.
source§fn try_from(input: &FixStr) -> Result<PosAmtType, SessionRejectReason>
fn try_from(input: &FixStr) -> Result<PosAmtType, SessionRejectReason>
Performs the conversion.