pub struct GetOpenInterestV1Params {
pub underlying_asset: String,
pub expiration: String,
}Expand description
struct for passing parameters to the method get_open_interest_v1
Fields§
§underlying_asset: Stringunderlying asset, e.g ETH/BTC
expiration: Stringexpiration date, e.g 221225
Trait Implementations§
Source§impl Clone for GetOpenInterestV1Params
impl Clone for GetOpenInterestV1Params
Source§fn clone(&self) -> GetOpenInterestV1Params
fn clone(&self) -> GetOpenInterestV1Params
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 GetOpenInterestV1Params
impl Debug for GetOpenInterestV1Params
Source§impl Default for GetOpenInterestV1Params
impl Default for GetOpenInterestV1Params
Source§fn default() -> GetOpenInterestV1Params
fn default() -> GetOpenInterestV1Params
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GetOpenInterestV1Params
impl RefUnwindSafe for GetOpenInterestV1Params
impl Send for GetOpenInterestV1Params
impl Sync for GetOpenInterestV1Params
impl Unpin for GetOpenInterestV1Params
impl UnwindSafe for GetOpenInterestV1Params
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