Struct SurfaceSmileDeltaStrikeSelectionRequest
pub struct SurfaceSmileDeltaStrikeSelectionRequest { /* private fields */ }Implementations§
§impl SurfaceSmileDeltaStrikeSelectionRequest
impl SurfaceSmileDeltaStrikeSelectionRequest
pub fn new(
absolute_delta: f64,
option_type: OptionType,
convention: SurfaceDeltaConvention,
model: PricingModel,
policy: SurfaceSmileDeltaSelectionPolicy,
) -> Result<Self, FerroRiskError>
pub fn new( absolute_delta: f64, option_type: OptionType, convention: SurfaceDeltaConvention, model: PricingModel, policy: SurfaceSmileDeltaSelectionPolicy, ) -> Result<Self, FerroRiskError>
pub const fn coordinate(&self) -> SurfaceDeltaCoordinate
pub const fn coordinate(&self) -> SurfaceDeltaCoordinate
pub const fn absolute_delta(&self) -> f64
pub const fn absolute_delta(&self) -> f64
pub const fn option_type(&self) -> OptionType
pub const fn option_type(&self) -> OptionType
pub const fn convention(&self) -> SurfaceDeltaConvention
pub const fn convention(&self) -> SurfaceDeltaConvention
pub const fn model(&self) -> &PricingModel
pub const fn model(&self) -> &PricingModel
pub const fn policy(&self) -> SurfaceSmileDeltaSelectionPolicy
pub const fn policy(&self) -> SurfaceSmileDeltaSelectionPolicy
Trait Implementations§
§impl Clone for SurfaceSmileDeltaStrikeSelectionRequest
impl Clone for SurfaceSmileDeltaStrikeSelectionRequest
§fn clone(&self) -> SurfaceSmileDeltaStrikeSelectionRequest
fn clone(&self) -> SurfaceSmileDeltaStrikeSelectionRequest
1.0.0 (const: )§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
impl StructuralPartialEq for SurfaceSmileDeltaStrikeSelectionRequest
Auto Trait Implementations§
impl Freeze for SurfaceSmileDeltaStrikeSelectionRequest
impl RefUnwindSafe for SurfaceSmileDeltaStrikeSelectionRequest
impl Send for SurfaceSmileDeltaStrikeSelectionRequest
impl Sync for SurfaceSmileDeltaStrikeSelectionRequest
impl Unpin for SurfaceSmileDeltaStrikeSelectionRequest
impl UnsafeUnpin for SurfaceSmileDeltaStrikeSelectionRequest
impl UnwindSafe for SurfaceSmileDeltaStrikeSelectionRequest
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)