Struct openweather_sdk::responses::HistoricalResponse
source · pub struct HistoricalResponse {
pub lat: f64,
pub lon: f64,
pub timezone: String,
pub timezone_offset: i64,
pub data: Vec<HistoricalData>,
}
Fields§
§lat: f64
§lon: f64
§timezone: String
§timezone_offset: i64
§data: Vec<HistoricalData>
Trait Implementations§
source§impl Clone for HistoricalResponse
impl Clone for HistoricalResponse
source§fn clone(&self) -> HistoricalResponse
fn clone(&self) -> HistoricalResponse
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for HistoricalResponse
impl Debug for HistoricalResponse
source§impl Default for HistoricalResponse
impl Default for HistoricalResponse
source§fn default() -> HistoricalResponse
fn default() -> HistoricalResponse
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for HistoricalResponse
impl<'de> Deserialize<'de> for HistoricalResponse
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for HistoricalResponse
impl Display for HistoricalResponse
source§impl PartialEq for HistoricalResponse
impl PartialEq for HistoricalResponse
source§fn eq(&self, other: &HistoricalResponse) -> bool
fn eq(&self, other: &HistoricalResponse) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for HistoricalResponse
impl PartialOrd for HistoricalResponse
source§fn partial_cmp(&self, other: &HistoricalResponse) -> Option<Ordering>
fn partial_cmp(&self, other: &HistoricalResponse) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for HistoricalResponse
impl Serialize for HistoricalResponse
impl StructuralPartialEq for HistoricalResponse
Auto Trait Implementations§
impl RefUnwindSafe for HistoricalResponse
impl Send for HistoricalResponse
impl Sync for HistoricalResponse
impl Unpin for HistoricalResponse
impl UnwindSafe for HistoricalResponse
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more