Enum AccretionMode
#[non_exhaustive]pub enum AccretionMode {
ExclSprd,
InclSprd,
}Expand description
OIS-leg spread-compounding mode. ExclSprd adds the spread after compounding
the daily index; InclSprd folds it into each daily step.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
§impl Clone for AccretionMode
impl Clone for AccretionMode
§fn clone(&self) -> AccretionMode
fn clone(&self) -> AccretionMode
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 AccretionMode
§impl Debug for AccretionMode
impl Debug for AccretionMode
impl Eq for AccretionMode
§impl Hash for AccretionMode
impl Hash for AccretionMode
§impl PartialEq for AccretionMode
impl PartialEq for AccretionMode
impl StructuralPartialEq for AccretionMode
Auto Trait Implementations§
impl Freeze for AccretionMode
impl RefUnwindSafe for AccretionMode
impl Send for AccretionMode
impl Sync for AccretionMode
impl Unpin for AccretionMode
impl UnsafeUnpin for AccretionMode
impl UnwindSafe for AccretionMode
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