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
Value “CASH”
CashResidualAmount
Value “CRES”
FinalMarkToMarketAmount
Value “FMTM”
IncrementalMarkToMarketAmount
Value “IMTM”
PremiumAmount
Value “PREM”
StartOfDayMarkToMarketAmount
Value “SMTM”
TradeVariationAmount
Value “TVAR”
ValueAdjustedAmount
Value “VADJ”
SettlementValue
Value “SETL”
InitialTradeCouponAmount
Value “ICPN”
AccruedCouponAmount
Value “ACPN”
CouponAmount
Value “CPN”
IncrementalAccruedCoupon
Value “IACPN”
CollateralizedMarkToMarket
Value “CMTM”
IncrementalCollateralizedMarkToMarket
Value “ICMTM”
CompensationAmount
Value “DLV”
TotalBankedAmount
Value “BANK”
TotalCollateralizedAmount
Value “COLAT”
Implementations§
Source§impl PosAmtType
impl PosAmtType
pub const fn from_bytes(input: &[u8]) -> Option<PosAmtType>
pub const fn from_fix_str(input: &FixStr) -> Option<PosAmtType>
pub const fn as_bytes(&self) -> &'static [u8] ⓘ
pub const 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 Default for PosAmtType
impl Default for PosAmtType
Source§fn default() -> PosAmtType
fn default() -> PosAmtType
Returns the “default value” for a type. Read more
Source§impl From<PosAmtType> for &'static [u8]
impl From<PosAmtType> for &'static [u8]
Source§impl PartialEq for PosAmtType
impl PartialEq for PosAmtType
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
Source§type Error = ParseRejectReason
type Error = ParseRejectReason
The type returned in the event of a conversion error.
Source§fn try_from(input: &FixStr) -> Result<PosAmtType, ParseRejectReason>
fn try_from(input: &FixStr) -> Result<PosAmtType, ParseRejectReason>
Performs the conversion.
impl Copy for PosAmtType
impl Eq for PosAmtType
impl StructuralPartialEq for PosAmtType
Auto Trait Implementations§
impl Freeze for PosAmtType
impl RefUnwindSafe for PosAmtType
impl Send for PosAmtType
impl Sync for PosAmtType
impl Unpin for PosAmtType
impl UnwindSafe for PosAmtType
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