pub enum AreaData {
WheatherPop {
weather_codes: Vec<String>,
pops: Vec<String>,
reliabilities: Vec<String>,
},
DetailedTempreture {
temps_min: Vec<String>,
temps_min_upper: Vec<String>,
temps_min_lower: Vec<String>,
temps_max: Vec<String>,
temps_max_upper: Vec<String>,
temps_max_lower: Vec<String>,
},
Wheather {
weather_codes: Vec<String>,
weathers: Vec<String>,
winds: Vec<String>,
waves: Vec<String>,
},
Pop {
pops: Vec<String>,
},
Tempreture {
temps: Vec<String>,
},
}Variants§
WheatherPop
明日から7日間
DetailedTempreture
明日から7日間
Fields
Wheather
Pop
今日から6時間ごと、5回分
Tempreture
明日の 0:00+9:00 と 9:00+9:00 (最低気温と最高気温)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AreaData
impl<'de> Deserialize<'de> for AreaData
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 AreaData
impl RefUnwindSafe for AreaData
impl Send for AreaData
impl Sync for AreaData
impl Unpin for AreaData
impl UnwindSafe for AreaData
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more