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