pub struct TickerParams {
pub symbol: String,
}Expand description
Request parameters for the [ticker] operation.
This struct holds all of the inputs you can pass when calling
ticker.
Fields§
§symbol: StringTrading pair symbol, e.g. ALPHA_175USDT (use token ID from Token List).
This field is **required.
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— Trading pair symbol, e.g.ALPHA_175USDT(use token ID from Token List).
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<'de> Deserialize<'de> for TickerParams
impl<'de> Deserialize<'de> for TickerParams
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 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