pub struct FeeFundingRateHistory {
pub info: Value,
pub symbol: String,
pub funding_rate: Option<Decimal>,
pub funding_timestamp: Option<i64>,
pub funding_datetime: Option<String>,
pub timestamp: Option<i64>,
pub datetime: Option<String>,
}Expand description
Funding rate history structure.
Contains historical funding rate data points.
Fields§
§info: ValueRaw API response data.
symbol: StringMarket symbol.
funding_rate: Option<Decimal>Funding rate.
funding_timestamp: Option<i64>Funding rate timestamp in milliseconds.
funding_datetime: Option<String>Funding rate time in ISO 8601 format.
timestamp: Option<i64>Data timestamp in milliseconds.
datetime: Option<String>Data time in ISO 8601 format.
Implementations§
Trait Implementations§
Source§impl Clone for FundingRateHistory
impl Clone for FundingRateHistory
Source§fn clone(&self) -> FundingRateHistory
fn clone(&self) -> FundingRateHistory
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 Debug for FundingRateHistory
impl Debug for FundingRateHistory
Source§impl<'de> Deserialize<'de> for FundingRateHistory
impl<'de> Deserialize<'de> for FundingRateHistory
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<FundingRateHistory, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<FundingRateHistory, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for FundingRateHistory
impl Serialize for FundingRateHistory
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for FundingRateHistory
impl RefUnwindSafe for FundingRateHistory
impl Send for FundingRateHistory
impl Sync for FundingRateHistory
impl Unpin for FundingRateHistory
impl UnwindSafe for FundingRateHistory
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