Enum PySmileInput
pub(crate) enum PySmileInput {
Quotes((NaiveDate, f64, f64, f64)),
Smile((NaiveDate, PyFxVolSmile)),
}Expand description
One smile of a surface as Python spells it: the market’s quote quadruple, or a built smile at its expiry.
Variants§
Trait Implementations§
§impl<'py> FromPyObject<'py> for PySmileInput
impl<'py> FromPyObject<'py> for PySmileInput
§fn extract_bound(obj: &Bound<'py, PyAny>) -> PyResult<Self>
fn extract_bound(obj: &Bound<'py, PyAny>) -> PyResult<Self>
Auto Trait Implementations§
impl Freeze for PySmileInput
impl RefUnwindSafe for PySmileInput
impl Send for PySmileInput
impl Sync for PySmileInput
impl Unpin for PySmileInput
impl UnsafeUnpin for PySmileInput
impl UnwindSafe for PySmileInput
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