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 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§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.
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