Struct openweather_sdk::OpenWeather
source · pub struct OpenWeather {
pub one_call: OneCall,
pub forecast: Forecast,
pub current: Current,
pub maps: Maps,
pub air_pollution: AirPollution,
pub geocoding: Geocoding,
}
Fields§
§one_call: OneCall
§forecast: Forecast
§current: Current
§maps: Maps
§air_pollution: AirPollution
§geocoding: Geocoding
Implementations§
Trait Implementations§
source§impl Clone for OpenWeather
impl Clone for OpenWeather
source§fn clone(&self) -> OpenWeather
fn clone(&self) -> OpenWeather
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 OpenWeather
impl Debug for OpenWeather
source§impl Default for OpenWeather
impl Default for OpenWeather
source§fn default() -> OpenWeather
fn default() -> OpenWeather
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for OpenWeather
impl<'de> Deserialize<'de> for OpenWeather
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 OpenWeather
impl Display for OpenWeather
source§impl PartialEq for OpenWeather
impl PartialEq for OpenWeather
source§fn eq(&self, other: &OpenWeather) -> bool
fn eq(&self, other: &OpenWeather) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for OpenWeather
impl PartialOrd for OpenWeather
source§fn partial_cmp(&self, other: &OpenWeather) -> Option<Ordering>
fn partial_cmp(&self, other: &OpenWeather) -> 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 OpenWeather
impl Serialize for OpenWeather
impl StructuralPartialEq for OpenWeather
Auto Trait Implementations§
impl RefUnwindSafe for OpenWeather
impl Send for OpenWeather
impl Sync for OpenWeather
impl Unpin for OpenWeather
impl UnwindSafe for OpenWeather
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