pub struct GetTickersParams {
pub category: Category,
pub symbol: Option<String>,
pub base_coin: Option<String>,
pub exp_date: Option<String>,
}Fields§
§category: Category§symbol: Option<String>§base_coin: Option<String>§exp_date: Option<String>Implementations§
Source§impl GetTickersParams
impl GetTickersParams
pub fn new(category: Category) -> Self
pub fn with_symbol(self, v: impl Into<String>) -> Self
pub fn with_base_coin(self, v: impl Into<String>) -> Self
pub fn with_exp_date(self, v: impl Into<String>) -> Self
Trait Implementations§
Source§impl Clone for GetTickersParams
impl Clone for GetTickersParams
Source§impl Debug for GetTickersParams
impl Debug for GetTickersParams
Auto Trait Implementations§
impl Freeze for GetTickersParams
impl RefUnwindSafe for GetTickersParams
impl Send for GetTickersParams
impl Sync for GetTickersParams
impl Unpin for GetTickersParams
impl UnsafeUnpin for GetTickersParams
impl UnwindSafe for GetTickersParams
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