Enum ProjectionKind
#[non_exhaustive]pub enum ProjectionKind {
Telescoping,
OwnForward,
}Expand description
Whether a projection index resolves to its own forward curve or telescopes onto the discount curve — the recipe’s authority on projection topology.
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.
Telescoping
The index telescopes onto the discount curve (self-discounting RFR).
OwnForward
The index has its own distinct forward curve.
Trait Implementations§
§impl Clone for ProjectionKind
impl Clone for ProjectionKind
§fn clone(&self) -> ProjectionKind
fn clone(&self) -> ProjectionKind
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 ProjectionKind
§impl Debug for ProjectionKind
impl Debug for ProjectionKind
impl Eq for ProjectionKind
§impl PartialEq for ProjectionKind
impl PartialEq for ProjectionKind
impl StructuralPartialEq for ProjectionKind
Auto Trait Implementations§
impl Freeze for ProjectionKind
impl RefUnwindSafe for ProjectionKind
impl Send for ProjectionKind
impl Sync for ProjectionKind
impl Unpin for ProjectionKind
impl UnsafeUnpin for ProjectionKind
impl UnwindSafe for ProjectionKind
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