pub struct RainfallData {
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 RainfallData
impl Clone for RainfallData
Source§fn clone(&self) -> RainfallData
fn clone(&self) -> RainfallData
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 RainfallData
impl Debug for RainfallData
Source§impl<'de> Deserialize<'de> for RainfallData
impl<'de> Deserialize<'de> for RainfallData
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 RainfallData
impl PartialEq for RainfallData
Source§impl Serialize for RainfallData
impl Serialize for RainfallData
impl StructuralPartialEq for RainfallData
Auto Trait Implementations§
impl Freeze for RainfallData
impl RefUnwindSafe for RainfallData
impl Send for RainfallData
impl Sync for RainfallData
impl Unpin for RainfallData
impl UnsafeUnpin for RainfallData
impl UnwindSafe for RainfallData
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