pub struct TickerParams {
pub symbol: String,
pub id: Option<String>,
}Expand description
Request parameters for the [ticker] operation.
This struct holds all of the inputs you can pass when calling
ticker.
Fields§
§symbol: StringSymbol to query
This field is **required.
id: Option<String>Unique WebSocket request ID.
This field is **optional.
Implementations§
Source§impl TickerParams
impl TickerParams
Sourcepub fn builder(symbol: String) -> TickerParamsBuilder
pub fn builder(symbol: String) -> TickerParamsBuilder
Create a builder for [ticker].
Required parameters:
symbol— Symbol to query
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 moreAuto 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