Struct forecast_rs::TimeMachineRequest
[−]
[src]
pub struct TimeMachineRequest<'a> { /* fields omitted */ }
Model object representing a request to the Time Machine API.
Methods
impl<'a> TimeMachineRequest<'a>
[src]
fn new(api_key: &'a str,
latitude: f64,
longitude: f64,
time: u64,
url: Url,
exclude: Vec<ExcludeBlock>,
lang: Option<Lang>,
units: Option<Units>)
-> TimeMachineRequest<'a>
latitude: f64,
longitude: f64,
time: u64,
url: Url,
exclude: Vec<ExcludeBlock>,
lang: Option<Lang>,
units: Option<Units>)
-> TimeMachineRequest<'a>
Trait Implementations
impl<'a> PartialEq for TimeMachineRequest<'a>
[src]
fn eq(&self, __arg_0: &TimeMachineRequest<'a>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &TimeMachineRequest<'a>) -> bool
This method tests for !=
.