pub struct GetCryptocurrenciesParamsBuilder { /* private fields */ }Expand description
Builder for GetCryptocurrenciesParams
Implementations§
Source§impl GetCryptocurrenciesParamsBuilder
impl GetCryptocurrenciesParamsBuilder
Sourcepub fn symbol(self, symbol: impl Into<String>) -> Self
pub fn symbol(self, symbol: impl Into<String>) -> Self
The ticker symbol of an instrument for which data is requested
Sourcepub fn exchange(self, exchange: impl Into<String>) -> Self
pub fn exchange(self, exchange: impl Into<String>) -> Self
Filter by exchange name. E.g. Binance, Coinbase, etc.
Sourcepub fn currency_base(self, currency_base: impl Into<String>) -> Self
pub fn currency_base(self, currency_base: impl Into<String>) -> Self
Filter by currency base
Sourcepub fn currency_quote(self, currency_quote: impl Into<String>) -> Self
pub fn currency_quote(self, currency_quote: impl Into<String>) -> Self
Filter by currency quote
Sourcepub fn delimiter(self, delimiter: impl Into<String>) -> Self
pub fn delimiter(self, delimiter: impl Into<String>) -> Self
The separator used in the CSV response data
Sourcepub fn build(self) -> GetCryptocurrenciesParams
pub fn build(self) -> GetCryptocurrenciesParams
Build the parameter struct
Trait Implementations§
Source§impl Clone for GetCryptocurrenciesParamsBuilder
impl Clone for GetCryptocurrenciesParamsBuilder
Source§fn clone(&self) -> GetCryptocurrenciesParamsBuilder
fn clone(&self) -> GetCryptocurrenciesParamsBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for GetCryptocurrenciesParamsBuilder
impl Default for GetCryptocurrenciesParamsBuilder
Source§fn default() -> GetCryptocurrenciesParamsBuilder
fn default() -> GetCryptocurrenciesParamsBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GetCryptocurrenciesParamsBuilder
impl RefUnwindSafe for GetCryptocurrenciesParamsBuilder
impl Send for GetCryptocurrenciesParamsBuilder
impl Sync for GetCryptocurrenciesParamsBuilder
impl Unpin for GetCryptocurrenciesParamsBuilder
impl UnwindSafe for GetCryptocurrenciesParamsBuilder
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