pub struct OpenInterest {
pub symbol: String,
pub timestamp: Option<i64>,
pub datetime: Option<String>,
pub open_interest_amount: Option<f64>,
pub open_interest_value: Option<f64>,
pub base_volume: Option<f64>,
pub quote_volume: Option<f64>,
pub raw: Value,
}Expand description
Unified open-interest snapshot.
Fields§
§symbol: String§timestamp: Option<i64>§datetime: Option<String>§open_interest_amount: Option<f64>§open_interest_value: Option<f64>§base_volume: Option<f64>§quote_volume: Option<f64>§raw: ValueImplementations§
Source§impl OpenInterest
impl OpenInterest
pub fn from_value(v: Value) -> OpenInterest
Trait Implementations§
Source§impl Clone for OpenInterest
impl Clone for OpenInterest
Source§fn clone(&self) -> OpenInterest
fn clone(&self) -> OpenInterest
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 moreSource§impl Debug for OpenInterest
impl Debug for OpenInterest
Source§impl Default for OpenInterest
impl Default for OpenInterest
Source§fn default() -> OpenInterest
fn default() -> OpenInterest
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for OpenInterest
impl RefUnwindSafe for OpenInterest
impl Send for OpenInterest
impl Sync for OpenInterest
impl Unpin for OpenInterest
impl UnsafeUnpin for OpenInterest
impl UnwindSafe for OpenInterest
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