pub struct EbDateTime {
pub value: DateTime,
pub ty: Option<String>,
pub significant: Option<String>,
pub precision: Option<String>,
pub dubious: Option<String>,
pub description: Option<String>,
}Fields§
§value: DateTime§ty: Option<String>分類
時刻の分類を示す。
significant: Option<String>有効桁
時刻の有効部分(「“年月日時“まで」など)を示す。
precision: Option<String>正確さ
時刻の幅(「日頃」など)を示す。
dubious: Option<String>あいまいさ
時刻のあいまいさ(時刻の幅で示せない場合)を示す。
description: Option<String>文字列表現
値を文字列で表示する場合の表記法を記述する。
Trait Implementations§
Source§impl Clone for EbDateTime
impl Clone for EbDateTime
Source§fn clone(&self) -> EbDateTime
fn clone(&self) -> EbDateTime
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 EbDateTime
impl Debug for EbDateTime
Source§impl<'de> Deserialize<'de> for EbDateTime
impl<'de> Deserialize<'de> for EbDateTime
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 EbDateTime
impl RefUnwindSafe for EbDateTime
impl Send for EbDateTime
impl Sync for EbDateTime
impl Unpin for EbDateTime
impl UnsafeUnpin for EbDateTime
impl UnwindSafe for EbDateTime
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