pub struct PublicGetFundingRateHistoryResponse {
pub index_price: Option<f64>,
pub interest_1h: Option<Value>,
pub interest_8h: Option<Value>,
pub prev_index_price: Option<f64>,
pub timestamp: Option<i64>,
}Fields§
§index_price: Option<f64>§interest_1h: Option<Value>§interest_8h: Option<Value>§prev_index_price: Option<f64>§timestamp: Option<i64>Trait Implementations§
Source§impl Clone for PublicGetFundingRateHistoryResponse
impl Clone for PublicGetFundingRateHistoryResponse
Source§fn clone(&self) -> PublicGetFundingRateHistoryResponse
fn clone(&self) -> PublicGetFundingRateHistoryResponse
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 Default for PublicGetFundingRateHistoryResponse
impl Default for PublicGetFundingRateHistoryResponse
Source§fn default() -> PublicGetFundingRateHistoryResponse
fn default() -> PublicGetFundingRateHistoryResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PublicGetFundingRateHistoryResponse
impl<'de> Deserialize<'de> for PublicGetFundingRateHistoryResponse
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 PublicGetFundingRateHistoryResponse
impl PartialEq for PublicGetFundingRateHistoryResponse
Source§fn eq(&self, other: &PublicGetFundingRateHistoryResponse) -> bool
fn eq(&self, other: &PublicGetFundingRateHistoryResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PublicGetFundingRateHistoryResponse
Auto Trait Implementations§
impl Freeze for PublicGetFundingRateHistoryResponse
impl RefUnwindSafe for PublicGetFundingRateHistoryResponse
impl Send for PublicGetFundingRateHistoryResponse
impl Sync for PublicGetFundingRateHistoryResponse
impl Unpin for PublicGetFundingRateHistoryResponse
impl UnwindSafe for PublicGetFundingRateHistoryResponse
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