pub enum FundingRateHistory {
Linear {
list: Vec<FundingRateEntry>,
},
Inverse {
list: Vec<FundingRateEntry>,
},
}Expand description
Response for Client::get_funding_rate_history.
Variants§
Trait Implementations§
Source§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<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 FundingRateHistory
impl PartialEq for FundingRateHistory
Source§fn eq(&self, other: &FundingRateHistory) -> bool
fn eq(&self, other: &FundingRateHistory) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FundingRateHistory
Auto Trait Implementations§
impl Freeze for FundingRateHistory
impl RefUnwindSafe for FundingRateHistory
impl Send for FundingRateHistory
impl Sync for FundingRateHistory
impl Unpin for FundingRateHistory
impl UnsafeUnpin 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