Struct openweather_sdk::responses::ForecastResponse
source · pub struct ForecastResponse {
pub cod: String,
pub message: i64,
pub cnt: i64,
pub list: Vec<ForecastDescription>,
pub city: City,
}
Fields§
§cod: String
§message: i64
§cnt: i64
§list: Vec<ForecastDescription>
§city: City
Trait Implementations§
source§impl Clone for ForecastResponse
impl Clone for ForecastResponse
source§fn clone(&self) -> ForecastResponse
fn clone(&self) -> ForecastResponse
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 ForecastResponse
impl Debug for ForecastResponse
source§impl Default for ForecastResponse
impl Default for ForecastResponse
source§fn default() -> ForecastResponse
fn default() -> ForecastResponse
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ForecastResponse
impl<'de> Deserialize<'de> for ForecastResponse
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 ForecastResponse
impl Display for ForecastResponse
source§impl PartialEq for ForecastResponse
impl PartialEq for ForecastResponse
source§fn eq(&self, other: &ForecastResponse) -> bool
fn eq(&self, other: &ForecastResponse) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ForecastResponse
impl PartialOrd for ForecastResponse
source§fn partial_cmp(&self, other: &ForecastResponse) -> Option<Ordering>
fn partial_cmp(&self, other: &ForecastResponse) -> 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 ForecastResponse
impl Serialize for ForecastResponse
impl StructuralPartialEq for ForecastResponse
Auto Trait Implementations§
impl Freeze for ForecastResponse
impl RefUnwindSafe for ForecastResponse
impl Send for ForecastResponse
impl Sync for ForecastResponse
impl Unpin for ForecastResponse
impl UnwindSafe for ForecastResponse
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