pub struct LocalVolatilityParameterChanges {
pub variance_time_convention: Option<VarianceTimeConvention>,
pub risk_free_rate: Option<Rate>,
pub dividend_yield: Option<Rate>,
pub surface: Option<LocalVolatilitySurface>,
}Expand description
Selects local-volatility replacements. Absent fields default to the source values.
See LocalVolatilityParameters::new for a rate replacement example.
Fields§
§variance_time_convention: Option<VarianceTimeConvention>Replaces the variance clock without converting volatility values.
risk_free_rate: Option<Rate>Replaces the risk-free rate or curve; see LocalVolatilityParameters::new.
dividend_yield: Option<Rate>Replaces the dividend yield or curve; see LocalVolatilityParameters::new.
surface: Option<LocalVolatilitySurface>Replaces the owned surface; see LocalVolatilityParameters::new.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for LocalVolatilityParameterChanges
impl !UnwindSafe for LocalVolatilityParameterChanges
impl Freeze for LocalVolatilityParameterChanges
impl Send for LocalVolatilityParameterChanges
impl Sync for LocalVolatilityParameterChanges
impl Unpin for LocalVolatilityParameterChanges
impl UnsafeUnpin for LocalVolatilityParameterChanges
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more