pub struct FundingSnapshot {
pub rate: f64,
pub premium: f64,
pub mark_price: f64,
pub open_interest: f64,
pub volume_24h: f64,
pub timestamp: i64,
}Fields§
§rate: f64§mark_price: f64§open_interest: f64§volume_24h: f64§timestamp: i64Trait Implementations§
Source§impl Clone for FundingSnapshot
impl Clone for FundingSnapshot
Source§fn clone(&self) -> FundingSnapshot
fn clone(&self) -> FundingSnapshot
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 FundingSnapshot
impl Debug for FundingSnapshot
Source§impl<'de> Deserialize<'de> for FundingSnapshot
impl<'de> Deserialize<'de> for FundingSnapshot
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
Source§impl PartialEq for FundingSnapshot
impl PartialEq for FundingSnapshot
Source§fn eq(&self, other: &FundingSnapshot) -> bool
fn eq(&self, other: &FundingSnapshot) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for FundingSnapshot
impl Serialize for FundingSnapshot
impl StructuralPartialEq for FundingSnapshot
Auto Trait Implementations§
impl Freeze for FundingSnapshot
impl RefUnwindSafe for FundingSnapshot
impl Send for FundingSnapshot
impl Sync for FundingSnapshot
impl Unpin for FundingSnapshot
impl UnsafeUnpin for FundingSnapshot
impl UnwindSafe for FundingSnapshot
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