Struct openweather_sdk::responses::response_elements::Wind
source · pub struct Wind {
pub speed: f64,
pub deg: i64,
pub gust: Option<f64>,
}
Fields§
§speed: f64
§deg: i64
§gust: Option<f64>
Trait Implementations§
source§impl<'de> Deserialize<'de> for Wind
impl<'de> Deserialize<'de> for Wind
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 Wind
impl PartialEq for Wind
source§impl PartialOrd for Wind
impl PartialOrd for Wind
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 Copy for Wind
impl StructuralPartialEq for Wind
Auto Trait Implementations§
impl Freeze for Wind
impl RefUnwindSafe for Wind
impl Send for Wind
impl Sync for Wind
impl Unpin for Wind
impl UnwindSafe for Wind
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