pub struct Weather {Show 15 fields
pub coord: Coord,
pub weather: Option<Vec<WeatherData>>,
pub base: Option<String>,
pub main: Main,
pub visibility: Option<u32>,
pub wind: Wind,
pub rain: Option<String>,
pub snow: Option<String>,
pub clouds: Clouds,
pub dt: u32,
pub sys: Option<Sys>,
pub timezone: Option<i32>,
pub id: i32,
pub name: String,
pub cod: Option<u32>,
}Fields§
§coord: Coord§weather: Option<Vec<WeatherData>>§base: Option<String>§main: Main§visibility: Option<u32>§wind: Wind§rain: Option<String>§snow: Option<String>§clouds: Clouds§dt: u32§sys: Option<Sys>§timezone: Option<i32>§id: i32§name: String§cod: Option<u32>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
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