Struct FxOptionDiagnostics
pub struct FxOptionDiagnostics {
pub forward: f64,
pub strike: f64,
pub vol: f64,
pub delta: f64,
pub expiry_years: f64,
}Expand description
What an FX option resolved to when it was priced, passively.
Fields§
§forward: f64The covered-interest-parity forward to delivery, quote per one base.
strike: f64The absolute strike the option priced at.
vol: f64The vol read off the surface at that strike.
delta: f64The signed delta at that strike under the surface’s convention.
expiry_years: f64Time to expiry in the surface’s measure, years.
Trait Implementations§
§impl Clone for FxOptionDiagnostics
impl Clone for FxOptionDiagnostics
§fn clone(&self) -> FxOptionDiagnostics
fn clone(&self) -> FxOptionDiagnostics
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 moreimpl Copy for FxOptionDiagnostics
§impl Debug for FxOptionDiagnostics
impl Debug for FxOptionDiagnostics
§impl PartialEq for FxOptionDiagnostics
impl PartialEq for FxOptionDiagnostics
§fn eq(&self, other: &FxOptionDiagnostics) -> bool
fn eq(&self, other: &FxOptionDiagnostics) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FxOptionDiagnostics
Auto Trait Implementations§
impl Freeze for FxOptionDiagnostics
impl RefUnwindSafe for FxOptionDiagnostics
impl Send for FxOptionDiagnostics
impl Sync for FxOptionDiagnostics
impl Unpin for FxOptionDiagnostics
impl UnsafeUnpin for FxOptionDiagnostics
impl UnwindSafe for FxOptionDiagnostics
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