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>Client-generated request identifier.
This field is **optional.
symbol: Option<String>The symbol parameter.
This field is **optional.
symbols: Option<Vec<String>>The symbols parameter.
This field is **optional.
type: Option<Ticker24hrTypeEnum>Ticker type. Supported values: FULL (default) or MINI
This field is **optional.
symbol_status: Option<Ticker24hrSymbolStatusEnum>Filters for symbols that have this tradingStatus. For a single symbol, a status mismatch returns error -1220 SYMBOL_DOES_NOT_MATCH_STATUS. For multiple or all symbols, non-matching ones are simply excluded from the response. Valid values: TRADING, HALT, BREAK
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
Source§impl<'de> Deserialize<'de> for Ticker24hrParams
impl<'de> Deserialize<'de> for Ticker24hrParams
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. 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