pub struct Ticker24hrParams {
pub id: Option<String>,
pub symbol: Option<String>,
pub symbols: Option<Vec<String>>,
pub type: Option<Ticker24hrTypeEnum>,
pub symbol_status: Option<Ticker24hrSymbolStatusEnum>,
}Expand description
Request parameters for the [ticker24hr] operation.
This struct holds all of the inputs you can pass when calling
ticker24hr.
Fields§
§id: Option<String>Unique WebSocket request ID.
This field is **optional.
symbol: Option<String>Describe a single symbol
This field is **optional.
symbols: Option<Vec<String>>List of symbols to query
This field is **optional.
type: Option<Ticker24hrTypeEnum>The r#type parameter.
This field is **optional.
symbol_status: Option<Ticker24hrSymbolStatusEnum>The symbol_status parameter.
This field is **optional.
Implementations§
Source§impl Ticker24hrParams
impl Ticker24hrParams
Sourcepub fn builder() -> Ticker24hrParamsBuilder
pub fn builder() -> Ticker24hrParamsBuilder
Create a builder for [ticker24hr].
Trait Implementations§
Source§impl Clone for Ticker24hrParams
impl Clone for Ticker24hrParams
Source§fn clone(&self) -> Ticker24hrParams
fn clone(&self) -> Ticker24hrParams
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 Ticker24hrParams
impl Debug for Ticker24hrParams
Source§impl Default for Ticker24hrParams
impl Default for Ticker24hrParams
Source§fn default() -> Ticker24hrParams
fn default() -> Ticker24hrParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for Ticker24hrParams
impl RefUnwindSafe for Ticker24hrParams
impl Send for Ticker24hrParams
impl Sync for Ticker24hrParams
impl Unpin for Ticker24hrParams
impl UnsafeUnpin for Ticker24hrParams
impl UnwindSafe for Ticker24hrParams
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