pub struct MiniTickerStreamParams {
pub symbol: String,
pub id: Option<String>,
}Expand description
Request parameters for the [mini_ticker_stream] operation.
This struct holds all of the inputs you can pass when calling
mini_ticker_stream.
Fields§
§symbol: StringSymbol to subscribe, in lowercase stream format.
This field is **required.
id: Option<String>Unique WebSocket request ID.
This field is **optional.
Implementations§
Source§impl MiniTickerStreamParams
impl MiniTickerStreamParams
Sourcepub fn builder(symbol: String) -> MiniTickerStreamParamsBuilder
pub fn builder(symbol: String) -> MiniTickerStreamParamsBuilder
Create a builder for [mini_ticker_stream].
Required parameters:
symbol— Symbol to subscribe, in lowercase stream format.
Trait Implementations§
Source§impl Clone for MiniTickerStreamParams
impl Clone for MiniTickerStreamParams
Source§fn clone(&self) -> MiniTickerStreamParams
fn clone(&self) -> MiniTickerStreamParams
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 MiniTickerStreamParams
impl Debug for MiniTickerStreamParams
Source§impl<'de> Deserialize<'de> for MiniTickerStreamParams
impl<'de> Deserialize<'de> for MiniTickerStreamParams
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 MiniTickerStreamParams
impl RefUnwindSafe for MiniTickerStreamParams
impl Send for MiniTickerStreamParams
impl Sync for MiniTickerStreamParams
impl Unpin for MiniTickerStreamParams
impl UnsafeUnpin for MiniTickerStreamParams
impl UnwindSafe for MiniTickerStreamParams
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