Struct openweather_sdk::responses::response_elements::Weather
source · pub struct Weather {
pub id: u64,
pub main: String,
pub description: String,
pub icon: String,
}
Fields§
§id: u64
§main: String
§description: String
§icon: String
Trait Implementations§
source§impl<'de> Deserialize<'de> for Weather
impl<'de> Deserialize<'de> for Weather
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 PartialEq for Weather
impl PartialEq for Weather
source§impl PartialOrd for Weather
impl PartialOrd for Weather
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 moreimpl StructuralPartialEq for Weather
Auto Trait Implementations§
impl Freeze for Weather
impl RefUnwindSafe for Weather
impl Send for Weather
impl Sync for Weather
impl Unpin for Weather
impl UnwindSafe for Weather
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