Struct tickrs_api::model::OptionsContract [−][src]
pub struct OptionsContract {
pub strike: f64,
pub last_price: f64,
pub change: f64,
pub percent_change: f64,
pub volume: Option<u64>,
pub open_interest: Option<u64>,
pub bid: Option<f64>,
pub ask: Option<f64>,
pub implied_volatility: Option<f64>,
pub in_the_money: Option<bool>,
pub currency: Option<String>,
}Fields
strike: f64last_price: f64change: f64percent_change: f64volume: Option<u64>open_interest: Option<u64>bid: Option<f64>ask: Option<f64>implied_volatility: Option<f64>in_the_money: Option<bool>currency: Option<String>Trait Implementations
impl Clone for OptionsContract[src]
impl Clone for OptionsContract[src]fn clone(&self) -> OptionsContract[src]
fn clone(&self) -> OptionsContract[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]Performs copy-assignment from source. Read more
impl Debug for OptionsContract[src]
impl Debug for OptionsContract[src]impl<'de> Deserialize<'de> for OptionsContract[src]
impl<'de> Deserialize<'de> for OptionsContract[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for OptionsContract
impl Send for OptionsContract
impl Sync for OptionsContract
impl Unpin for OptionsContract
impl UnwindSafe for OptionsContract
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,