pub struct OptionsVolume {
pub strike: f64,
pub calls: f64,
pub puts: f64,
}Expand description
Traded contract volume at one strike, summed over the requested expiries. This is turnover, not open interest, premium or the underlying’s bar volume.
Fields§
§strike: f64Strike in the underlying’s price units.
calls: f64Nonnegative, finite call contract volume.
puts: f64Nonnegative, finite put contract volume.
Trait Implementations§
Source§impl Clone for OptionsVolume
impl Clone for OptionsVolume
Source§fn clone(&self) -> OptionsVolume
fn clone(&self) -> OptionsVolume
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 OptionsVolume
Source§impl Debug for OptionsVolume
impl Debug for OptionsVolume
Source§impl PartialEq for OptionsVolume
impl PartialEq for OptionsVolume
impl StructuralPartialEq for OptionsVolume
Auto Trait Implementations§
impl Freeze for OptionsVolume
impl RefUnwindSafe for OptionsVolume
impl Send for OptionsVolume
impl Sync for OptionsVolume
impl Unpin for OptionsVolume
impl UnsafeUnpin for OptionsVolume
impl UnwindSafe for OptionsVolume
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more