Struct forecast::TimeMachineRequest [−][src]
pub struct TimeMachineRequest<'a> { /* fields omitted */ }
Model object representing a request to the Time Machine API.
Methods
impl<'a> TimeMachineRequest<'a>
[src]
impl<'a> TimeMachineRequest<'a>
pub 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>
[src]
pub 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>
Trait Implementations
impl<'a> Debug for TimeMachineRequest<'a>
[src]
impl<'a> Debug for TimeMachineRequest<'a>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<'a> Clone for TimeMachineRequest<'a>
[src]
impl<'a> Clone for TimeMachineRequest<'a>
fn clone(&self) -> TimeMachineRequest<'a>
[src]
fn clone(&self) -> TimeMachineRequest<'a>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<'a> PartialEq for TimeMachineRequest<'a>
[src]
impl<'a> PartialEq for TimeMachineRequest<'a>
fn eq(&self, other: &TimeMachineRequest<'a>) -> bool
[src]
fn eq(&self, other: &TimeMachineRequest<'a>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &TimeMachineRequest<'a>) -> bool
[src]
fn ne(&self, other: &TimeMachineRequest<'a>) -> bool
This method tests for !=
.
Auto Trait Implementations
impl<'a> Send for TimeMachineRequest<'a>
impl<'a> Send for TimeMachineRequest<'a>
impl<'a> Sync for TimeMachineRequest<'a>
impl<'a> Sync for TimeMachineRequest<'a>