#[non_exhaustive]pub struct TrendChange {
pub indicator: Trend,
pub from_time: Option<MetarTime>,
pub to_time: Option<MetarTime>,
pub at_time: Option<MetarTime>,
pub wind: Wind,
pub visibility: Visibility,
pub weather: Vec<WeatherCondition>,
pub clouds: Vec<CloudLayer>,
}Expand description
Significant changes in the meteorological conditions in the TREND forecast.
Only elements for which a significant change is expected are Option::Some.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.indicator: Trend§from_time: Option<MetarTime>§to_time: Option<MetarTime>§at_time: Option<MetarTime>§wind: WindSurface wind groups.
JSON representation is flattened once.
visibility: VisibilityVisibility groups.
JSON representation is flattened once.
weather: Vec<WeatherCondition>§clouds: Vec<CloudLayer>Trait Implementations§
Source§impl Clone for TrendChange
impl Clone for TrendChange
Source§fn clone(&self) -> TrendChange
fn clone(&self) -> TrendChange
Returns a duplicate 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 TrendChange
impl Debug for TrendChange
Source§impl Default for TrendChange
impl Default for TrendChange
Source§fn default() -> TrendChange
fn default() -> TrendChange
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TrendChange
impl<'de> Deserialize<'de> for TrendChange
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 TrendChange
impl PartialEq for TrendChange
Source§impl Serialize for TrendChange
impl Serialize for TrendChange
impl StructuralPartialEq for TrendChange
Auto Trait Implementations§
impl Freeze for TrendChange
impl RefUnwindSafe for TrendChange
impl Send for TrendChange
impl Sync for TrendChange
impl Unpin for TrendChange
impl UnwindSafe for TrendChange
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