Enum CdsStrikeType
pub enum CdsStrikeType {
Spread,
Price,
}Expand description
How a CDS option’s strike is quoted.
Variants§
Spread
A spread: under the index style the exercise upfront is (K − c)·A(K).
Price
A clean price per unit notional the holder enters the index at: the
exercise upfront is 1 − P. Index style only.
Implementations§
§impl CdsStrikeType
impl CdsStrikeType
Trait Implementations§
§impl Clone for CdsStrikeType
impl Clone for CdsStrikeType
§fn clone(&self) -> CdsStrikeType
fn clone(&self) -> CdsStrikeType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CdsStrikeType
§impl Debug for CdsStrikeType
impl Debug for CdsStrikeType
§impl Default for CdsStrikeType
impl Default for CdsStrikeType
§fn default() -> CdsStrikeType
fn default() -> CdsStrikeType
Returns the “default value” for a type. Read more
impl Eq for CdsStrikeType
§impl FromStr for CdsStrikeType
impl FromStr for CdsStrikeType
§impl PartialEq for CdsStrikeType
impl PartialEq for CdsStrikeType
impl StructuralPartialEq for CdsStrikeType
Auto Trait Implementations§
impl Freeze for CdsStrikeType
impl RefUnwindSafe for CdsStrikeType
impl Send for CdsStrikeType
impl Sync for CdsStrikeType
impl Unpin for CdsStrikeType
impl UnsafeUnpin for CdsStrikeType
impl UnwindSafe for CdsStrikeType
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