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