pub struct GetCryptocurrenciesParams {
pub symbol: Option<String>,
pub exchange: Option<String>,
pub currency_base: Option<String>,
pub currency_quote: Option<String>,
pub format: Option<String>,
pub delimiter: Option<String>,
}Expand description
struct for passing parameters to the method get_cryptocurrencies
Fields§
§symbol: Option<String>The ticker symbol of an instrument for which data is requested
exchange: Option<String>Filter by exchange name. E.g. Binance, Coinbase, etc.
currency_base: Option<String>Filter by currency base
currency_quote: Option<String>Filter by currency quote
format: Option<String>The format of the response data
delimiter: Option<String>The separator used in the CSV response data
Implementations§
Source§impl GetCryptocurrenciesParams
impl GetCryptocurrenciesParams
Sourcepub fn builder() -> GetCryptocurrenciesParamsBuilder
pub fn builder() -> GetCryptocurrenciesParamsBuilder
Create a new builder for this parameter struct
Trait Implementations§
Source§impl Clone for GetCryptocurrenciesParams
impl Clone for GetCryptocurrenciesParams
Source§fn clone(&self) -> GetCryptocurrenciesParams
fn clone(&self) -> GetCryptocurrenciesParams
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 Debug for GetCryptocurrenciesParams
impl Debug for GetCryptocurrenciesParams
Source§impl Default for GetCryptocurrenciesParams
impl Default for GetCryptocurrenciesParams
Source§fn default() -> GetCryptocurrenciesParams
fn default() -> GetCryptocurrenciesParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GetCryptocurrenciesParams
impl RefUnwindSafe for GetCryptocurrenciesParams
impl Send for GetCryptocurrenciesParams
impl Sync for GetCryptocurrenciesParams
impl Unpin for GetCryptocurrenciesParams
impl UnwindSafe for GetCryptocurrenciesParams
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