Struct currency_layer::Client[][src]

pub struct Client { /* fields omitted */ }

Client for making requests to Currency Layer

Methods

impl Client
[src]

Creates a new client using the provided key for all requests.

Only the free APIs are supported.

Get the excahnge rates for the provide currencies.

All values are relative to the base currency.

Get the excahnge rates for the provide currencies on a paticular day.

All values are relative to the base currency.

date is a tuple 3 in the format year, month, day.

Auto Trait Implementations

impl Send for Client

impl Sync for Client