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