pub struct GetFundingRateHistoryParams {
pub category: Category,
pub symbol: String,
pub start_time: Option<Timestamp>,
pub end_time: Option<Timestamp>,
pub limit: Option<u64>,
}Expand description
Query params for Client::get_funding_rate_history.
Covers: linear / inverse
Fields§
§category: Category§symbol: String§start_time: Option<Timestamp>§end_time: Option<Timestamp>§limit: Option<u64>Max 200. Default 200.
Implementations§
Source§impl GetFundingRateHistoryParams
impl GetFundingRateHistoryParams
pub fn new(category: Category, symbol: impl Into<String>) -> Self
pub fn with_start_time(self, v: Timestamp) -> Self
pub fn with_end_time(self, v: Timestamp) -> Self
pub fn with_limit(self, v: u64) -> Self
Trait Implementations§
Source§impl Clone for GetFundingRateHistoryParams
impl Clone for GetFundingRateHistoryParams
Source§impl Debug for GetFundingRateHistoryParams
impl Debug for GetFundingRateHistoryParams
Auto Trait Implementations§
impl Freeze for GetFundingRateHistoryParams
impl RefUnwindSafe for GetFundingRateHistoryParams
impl Send for GetFundingRateHistoryParams
impl Sync for GetFundingRateHistoryParams
impl Unpin for GetFundingRateHistoryParams
impl UnsafeUnpin for GetFundingRateHistoryParams
impl UnwindSafe for GetFundingRateHistoryParams
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