Skip to main content

MeteKind

Struct MeteKind 

Source
pub struct MeteKind {
    pub name: Option<String>,
    pub code: Option<String>,
    pub status: Option<String>,
    pub class_name: Option<String>,
    pub condition: Option<String>,
    pub last_kind: Option<MeteNextKind>,
    pub next_kinds: Option<MeteNextKinds>,
    pub attention: Option<MeteAttention>,
    pub warning_notice: Option<MeteWarningNotice>,
    pub addition: Option<MeteAddition>,
    pub date_time: Option<EbDateTime>,
    pub properties: Vec<MeteProperty>,
}

Fields§

§name: Option<String>

項目名

特別警報・警報・注意報名、警戒レベル等を示す

§code: Option<String>

警報等情報要素コード

特別警報・警報・注意報、警戒レベル、生物季節現象等のコードを示す(コード辞書参照)

§status: Option<String>

情報の状況

警報・注意報等の切り替え、発表、解除などの状況を示す

§class_name: Option<String>

観測対象の品種または総称

§condition: Option<String>

種別の補足説明

“土砂災害“など大雨警報などを説明する、観測の補足説明をする文字列等を示す

§last_kind: Option<MeteNextKind>

前回の発表状況

前回発表した警報等を示す

§next_kinds: Option<MeteNextKinds>

警報・注意報、気象警戒レベルの引上げの可能性

§attention: Option<MeteAttention>

特記事項

§warning_notice: Option<MeteWarningNotice>

警報等への切り替え予告

警報等への切り替えの予告を示す

§addition: Option<MeteAddition>

付加事項

§date_time: Option<EbDateTime>

日時

Kind要素で示している内容の有効日時や起時を示す

§properties: Vec<MeteProperty>

予報・観測要素

量的予想などの詳細事項を示す

Trait Implementations§

Source§

impl Clone for MeteKind

Source§

fn clone(&self) -> MeteKind

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for MeteKind

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for MeteKind

Source§

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 Serialize for MeteKind

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,