Enum ProjectionSpec
pub enum ProjectionSpec {
Telescoping,
Strip(String),
}Expand description
How a projection index is sourced, as data.
Variants§
Telescoping
The index telescopes onto the discount curve.
Strip(String)
The index has its own strip on this template — an IRS, or an NDS whose floating leg is the index.
Trait Implementations§
§impl Clone for ProjectionSpec
impl Clone for ProjectionSpec
§fn clone(&self) -> ProjectionSpec
fn clone(&self) -> ProjectionSpec
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 more§impl Debug for ProjectionSpec
impl Debug for ProjectionSpec
impl Eq for ProjectionSpec
§impl PartialEq for ProjectionSpec
impl PartialEq for ProjectionSpec
impl StructuralPartialEq for ProjectionSpec
Auto Trait Implementations§
impl Freeze for ProjectionSpec
impl RefUnwindSafe for ProjectionSpec
impl Send for ProjectionSpec
impl Sync for ProjectionSpec
impl Unpin for ProjectionSpec
impl UnsafeUnpin for ProjectionSpec
impl UnwindSafe for ProjectionSpec
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