pub struct FundingRateHistory {
pub symbol: Option<String>,
pub funding_rate: Option<f64>,
pub timestamp: Option<i64>,
pub datetime: Option<String>,
pub raw: Value,
}Expand description
One historical funding-rate sample (each row of fetchFundingRateHistory).
Mirrors the TS FundingRateHistory interface. Distinct from
FundingRate, which is the live snapshot with next/previous rates.
Fields§
§symbol: Option<String>§funding_rate: Option<f64>§timestamp: Option<i64>§datetime: Option<String>§raw: ValueImplementations§
Source§impl FundingRateHistory
impl FundingRateHistory
pub fn from_value(v: Value) -> Self
Trait Implementations§
Source§impl Clone for FundingRateHistory
impl Clone for FundingRateHistory
Source§impl Debug for FundingRateHistory
impl Debug for FundingRateHistory
Auto Trait Implementations§
impl Forget for FundingRateHistory
impl Freeze for FundingRateHistory
impl Move 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