pub struct GreeksData {
pub base_coin: String,
pub total_delta: Option<String>,
pub total_gamma: Option<String>,
pub total_vega: Option<String>,
pub total_theta: Option<String>,
}Expand description
Greeks update data from private WebSocket stream (options).
Fields§
§base_coin: StringBase coin.
total_delta: Option<String>Total delta.
total_gamma: Option<String>Total gamma.
total_vega: Option<String>Total vega.
total_theta: Option<String>Total theta.
Trait Implementations§
Source§impl Clone for GreeksData
impl Clone for GreeksData
Source§fn clone(&self) -> GreeksData
fn clone(&self) -> GreeksData
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GreeksData
impl Debug for GreeksData
Source§impl<'de> Deserialize<'de> for GreeksData
impl<'de> Deserialize<'de> for GreeksData
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 GreeksData
impl RefUnwindSafe for GreeksData
impl Send for GreeksData
impl Sync for GreeksData
impl Unpin for GreeksData
impl UnwindSafe for GreeksData
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