Enum Accretion
#[non_exhaustive]pub enum Accretion {
Contractual(ContractualAccretion),
}Expand description
The closed set of accretion sources a par-flow bond scales by. One variant today; a market-indexed source is the inflation-linked bond’s own ratio.
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.
Contractual(ContractualAccretion)
A contractual rule — passive, market-data-free.
Implementations§
§impl Accretion
impl Accretion
pub fn capitalisations(&self, par_face: f64) -> Vec<Capitalisation>
pub fn capitalisations(&self, par_face: f64) -> Vec<Capitalisation>
Every capitalisation growing par_face.
Trait Implementations§
impl StructuralPartialEq for Accretion
Auto Trait Implementations§
impl Freeze for Accretion
impl RefUnwindSafe for Accretion
impl Send for Accretion
impl Sync for Accretion
impl Unpin for Accretion
impl UnsafeUnpin for Accretion
impl UnwindSafe for Accretion
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