pub struct GetOpenInterestParams {
pub category: Category,
pub symbol: String,
pub interval_time: IntervalTime,
pub start_time: Option<Timestamp>,
pub end_time: Option<Timestamp>,
pub limit: Option<u64>,
pub cursor: Option<String>,
}Expand description
Query params for Client::get_open_interest.
Covers: linear / inverse
Fields§
§category: Category§symbol: String§interval_time: IntervalTime§start_time: Option<Timestamp>§end_time: Option<Timestamp>§limit: Option<u64>Max 200. Default 50.
cursor: Option<String>Trait Implementations§
Source§impl Clone for GetOpenInterestParams
impl Clone for GetOpenInterestParams
Source§fn clone(&self) -> GetOpenInterestParams
fn clone(&self) -> GetOpenInterestParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GetOpenInterestParams
impl Debug for GetOpenInterestParams
Auto Trait Implementations§
impl Freeze for GetOpenInterestParams
impl RefUnwindSafe for GetOpenInterestParams
impl Send for GetOpenInterestParams
impl Sync for GetOpenInterestParams
impl Unpin for GetOpenInterestParams
impl UnsafeUnpin for GetOpenInterestParams
impl UnwindSafe for GetOpenInterestParams
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