pub struct TickerPriceParams {
pub id: Option<String>,
pub symbol: Option<String>,
pub symbols: Option<Vec<String>>,
pub symbol_status: Option<TickerPriceSymbolStatusEnum>,
}Expand description
Request parameters for the [ticker_price] operation.
This struct holds all of the inputs you can pass when calling
ticker_price.
Fields§
§id: Option<String>Client-generated request identifier.
This field is **optional.
symbol: Option<String>Query price for a single symbol
This field is **optional.
symbols: Option<Vec<String>>Query price for multiple symbols
This field is **optional.
symbol_status: Option<TickerPriceSymbolStatusEnum>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 TickerPriceParams
impl TickerPriceParams
Sourcepub fn builder() -> TickerPriceParamsBuilder
pub fn builder() -> TickerPriceParamsBuilder
Create a builder for [ticker_price].
Trait Implementations§
Source§impl Clone for TickerPriceParams
impl Clone for TickerPriceParams
Source§fn clone(&self) -> TickerPriceParams
fn clone(&self) -> TickerPriceParams
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 TickerPriceParams
impl Debug for TickerPriceParams
Source§impl Default for TickerPriceParams
impl Default for TickerPriceParams
Source§fn default() -> TickerPriceParams
fn default() -> TickerPriceParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TickerPriceParams
impl<'de> Deserialize<'de> for TickerPriceParams
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 TickerPriceParams
impl RefUnwindSafe for TickerPriceParams
impl Send for TickerPriceParams
impl Sync for TickerPriceParams
impl Unpin for TickerPriceParams
impl UnsafeUnpin for TickerPriceParams
impl UnwindSafe for TickerPriceParams
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