pub struct TickerParams {
pub id: Option<String>,
pub symbol: Option<String>,
pub symbols: Option<Vec<String>>,
pub type: Option<TickerTypeEnum>,
pub window_size: Option<TickerWindowSizeEnum>,
pub symbol_status: Option<TickerSymbolStatusEnum>,
}Expand description
Request parameters for the [ticker] operation.
This struct holds all of the inputs you can pass when calling
ticker.
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<TickerTypeEnum>The r#type parameter.
This field is **optional.
window_size: Option<TickerWindowSizeEnum>The window_size parameter.
This field is **optional.
symbol_status: Option<TickerSymbolStatusEnum>The symbol_status parameter.
This field is **optional.
Implementations§
Source§impl TickerParams
impl TickerParams
Sourcepub fn builder() -> TickerParamsBuilder
pub fn builder() -> TickerParamsBuilder
Create a builder for [ticker].
Trait Implementations§
Source§impl Clone for TickerParams
impl Clone for TickerParams
Source§fn clone(&self) -> TickerParams
fn clone(&self) -> TickerParams
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 TickerParams
impl Debug for TickerParams
Source§impl Default for TickerParams
impl Default for TickerParams
Source§fn default() -> TickerParams
fn default() -> TickerParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TickerParams
impl RefUnwindSafe for TickerParams
impl Send for TickerParams
impl Sync for TickerParams
impl Unpin for TickerParams
impl UnsafeUnpin for TickerParams
impl UnwindSafe for TickerParams
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