Enum ThetaTermStructureParams
#[non_exhaustive]pub enum ThetaTermStructureParams {
PowerLaw {
a: f64,
b: f64,
},
LinearLogT {
anchors: Vec<(SurfaceTenor, f64)>,
},
MonotoneSpline {
anchors: Vec<(SurfaceTenor, f64)>,
},
MeanReverting {
theta_inf: f64,
tau: f64,
},
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
PowerLaw
LinearLogT
Fields
§
anchors: Vec<(SurfaceTenor, f64)>MonotoneSpline
Fields
§
anchors: Vec<(SurfaceTenor, f64)>MeanReverting
Trait Implementations§
§impl Clone for ThetaTermStructureParams
impl Clone for ThetaTermStructureParams
§fn clone(&self) -> ThetaTermStructureParams
fn clone(&self) -> ThetaTermStructureParams
1.0.0 (const: )§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
§impl PartialEq for ThetaTermStructureParams
impl PartialEq for ThetaTermStructureParams
impl StructuralPartialEq for ThetaTermStructureParams
Auto Trait Implementations§
impl Freeze for ThetaTermStructureParams
impl RefUnwindSafe for ThetaTermStructureParams
impl Send for ThetaTermStructureParams
impl Sync for ThetaTermStructureParams
impl Unpin for ThetaTermStructureParams
impl UnsafeUnpin for ThetaTermStructureParams
impl UnwindSafe for ThetaTermStructureParams
Blanket Implementations§
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)