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>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.
symbol_status: Option<TickerPriceSymbolStatusEnum>The symbol_status parameter.
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
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