pub enum ValuationMethod {
PremiumStyle,
FuturesStyleMarkToMarket,
FuturesStyleWithAnAttachedCashAdjustment,
CdsStyleCollateralizationOfMarketToMarketAndCoupon,
CdsInDelivery,
}
Variants§
PremiumStyle
Value “EQTY”
FuturesStyleMarkToMarket
Value “FUT”
FuturesStyleWithAnAttachedCashAdjustment
Value “FUTDA”
CdsStyleCollateralizationOfMarketToMarketAndCoupon
Value “CDS”
CdsInDelivery
Value “CDSD”
Implementations§
Source§impl ValuationMethod
impl ValuationMethod
pub const fn from_bytes(input: &[u8]) -> Option<ValuationMethod>
pub const fn from_fix_str(input: &FixStr) -> Option<ValuationMethod>
pub const fn as_bytes(&self) -> &'static [u8] ⓘ
pub const fn as_fix_str(&self) -> &'static FixStr
Trait Implementations§
Source§impl Clone for ValuationMethod
impl Clone for ValuationMethod
Source§fn clone(&self) -> ValuationMethod
fn clone(&self) -> ValuationMethod
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 ValuationMethod
impl Debug for ValuationMethod
Source§impl Default for ValuationMethod
impl Default for ValuationMethod
Source§fn default() -> ValuationMethod
fn default() -> ValuationMethod
Returns the “default value” for a type. Read more
Source§impl From<ValuationMethod> for &'static [u8]
impl From<ValuationMethod> for &'static [u8]
Source§impl PartialEq for ValuationMethod
impl PartialEq for ValuationMethod
Source§impl ToFixString for ValuationMethod
impl ToFixString for ValuationMethod
fn to_fix_string(&self) -> FixString
Source§impl TryFrom<&FixStr> for ValuationMethod
impl TryFrom<&FixStr> for ValuationMethod
Source§type Error = ParseRejectReason
type Error = ParseRejectReason
The type returned in the event of a conversion error.
Source§fn try_from(input: &FixStr) -> Result<ValuationMethod, ParseRejectReason>
fn try_from(input: &FixStr) -> Result<ValuationMethod, ParseRejectReason>
Performs the conversion.
impl Copy for ValuationMethod
impl Eq for ValuationMethod
impl StructuralPartialEq for ValuationMethod
Auto Trait Implementations§
impl Freeze for ValuationMethod
impl RefUnwindSafe for ValuationMethod
impl Send for ValuationMethod
impl Sync for ValuationMethod
impl Unpin for ValuationMethod
impl UnwindSafe for ValuationMethod
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