pub struct GetOpenInterestParams {
pub category: Category,
pub symbol: String,
pub interval_time: String,
pub start_time: Option<u64>,
pub end_time: Option<u64>,
pub limit: Option<u32>,
pub cursor: Option<String>,
}Expand description
Parameters for getting open interest.
Fields§
§category: CategoryProduct category.
symbol: StringTrading symbol.
interval_time: StringInterval (5min, 15min, 30min, 1h, 4h, 1d).
start_time: Option<u64>Start time (ms).
end_time: Option<u64>End time (ms).
limit: Option<u32>Limit.
cursor: Option<String>Cursor for pagination.
Implementations§
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 · 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 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