pub struct WindDirectionData {
pub stations: Vec<NeaWeatherStation>,
pub readings: Vec<NeaReadingSnapshot>,
pub reading_type: String,
pub reading_unit: NeaMeasurementUnit,
pub pagination_token: Option<String>,
}Fields§
§stations: Vec<NeaWeatherStation>§readings: Vec<NeaReadingSnapshot>§reading_type: StringInformation about the reading
reading_unit: NeaMeasurementUnitUnit of measure for NEA station readings and outlook ranges
pagination_token: Option<String>Token to retrieve next page if exists
Trait Implementations§
Source§impl Clone for WindDirectionData
impl Clone for WindDirectionData
Source§fn clone(&self) -> WindDirectionData
fn clone(&self) -> WindDirectionData
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 WindDirectionData
impl Debug for WindDirectionData
Source§impl<'de> Deserialize<'de> for WindDirectionData
impl<'de> Deserialize<'de> for WindDirectionData
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 WindDirectionData
impl PartialEq for WindDirectionData
Source§fn eq(&self, other: &WindDirectionData) -> bool
fn eq(&self, other: &WindDirectionData) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for WindDirectionData
impl Serialize for WindDirectionData
impl StructuralPartialEq for WindDirectionData
Auto Trait Implementations§
impl Freeze for WindDirectionData
impl RefUnwindSafe for WindDirectionData
impl Send for WindDirectionData
impl Sync for WindDirectionData
impl Unpin for WindDirectionData
impl UnsafeUnpin for WindDirectionData
impl UnwindSafe for WindDirectionData
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