Struct fixerio::Config
[−]
[src]
pub struct Config { /* fields omitted */ }
Configuration for requests.
Methods
impl Config
[src]
fn new(curr: Currency) -> Self
Create a new Config struct.
fn set_symbols(&mut self, symbols: Vec<Currency>)
Set the symbols (List of specific exchange rates for the base currency, will retrieve all if none as specified).
fn set_date<T: Into<String>>(&mut self, date: T)
Set the date (The date for which to retrieve exchange rates from, will retrieve latest if a date is not specified).