Struct SurfaceQuoteCoordinate
pub struct SurfaceQuoteCoordinate { /* private fields */ }Implementations§
§impl SurfaceQuoteCoordinate
impl SurfaceQuoteCoordinate
pub fn new(
expiry: SurfaceTenor,
strike: f64,
log_moneyness: SurfaceLogMoneyness,
delta: Option<SurfaceDeltaCoordinate>,
) -> Result<Self, FerroRiskError>
pub fn new( expiry: SurfaceTenor, strike: f64, log_moneyness: SurfaceLogMoneyness, delta: Option<SurfaceDeltaCoordinate>, ) -> Result<Self, FerroRiskError>
pub const fn expiry(self) -> SurfaceTenor
pub const fn strike(self) -> f64
pub const fn log_moneyness(self) -> SurfaceLogMoneyness
pub const fn delta(self) -> Option<SurfaceDeltaCoordinate>
Trait Implementations§
§impl Clone for SurfaceQuoteCoordinate
impl Clone for SurfaceQuoteCoordinate
§fn clone(&self) -> SurfaceQuoteCoordinate
fn clone(&self) -> SurfaceQuoteCoordinate
1.0.0 (const: )§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
§impl PartialEq for SurfaceQuoteCoordinate
impl PartialEq for SurfaceQuoteCoordinate
impl Copy for SurfaceQuoteCoordinate
impl StructuralPartialEq for SurfaceQuoteCoordinate
Auto Trait Implementations§
impl Freeze for SurfaceQuoteCoordinate
impl RefUnwindSafe for SurfaceQuoteCoordinate
impl Send for SurfaceQuoteCoordinate
impl Sync for SurfaceQuoteCoordinate
impl Unpin for SurfaceQuoteCoordinate
impl UnsafeUnpin for SurfaceQuoteCoordinate
impl UnwindSafe for SurfaceQuoteCoordinate
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)