pub struct Greeks {
pub delta: Option<f64>,
pub gamma: Option<f64>,
pub vega: Option<f64>,
pub theta: Option<f64>,
pub rho: Option<f64>,
}Expand description
Greeks sub-structure for options
Fields§
§delta: Option<f64>Delta value
gamma: Option<f64>Gamma value
vega: Option<f64>Vega value
theta: Option<f64>Theta value
rho: Option<f64>Rho value
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Greeks
impl<'de> Deserialize<'de> for Greeks
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Greeks
impl RefUnwindSafe for Greeks
impl Send for Greeks
impl Sync for Greeks
impl Unpin for Greeks
impl UnwindSafe for Greeks
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