pub struct TimeDt {
pub id: Option<String>,
pub extension: Option<Vec<Extension>>,
pub value: Option<Time>,
}
Expand description
时间类型
表示一天内的时间。24小时制,格式为HH::MM:SS。不要指定时区。
Fields§
§id: Option<String>
xml:id (or equivalent in JSON)
extension: Option<Vec<Extension>>
Additional content defined by implementations
value: Option<Time>
Primitive value for time
Trait Implementations§
Source§impl Convert for TimeDt
impl Convert for TimeDt
fn to_integer(&self) -> Result<Integer>
fn to_decimal(&self) -> Result<Decimal>
fn to_strings(&self) -> Result<String>
fn to_datetime(&self) -> Result<DateTime>
fn to_boolean(&self) -> Result<Boolean>
Source§impl<'de> Deserialize<'de> for TimeDt
impl<'de> Deserialize<'de> for TimeDt
fn deserialize<De>(deserializer: De) -> Result<Self>where
De: Deserializer<'de>,
Source§impl Executor for TimeDt
impl Executor for TimeDt
fn element(&self, symbol: &String, index: &Option<usize>) -> Result<Collection>
fn to_collection(&self, _index: &Option<usize>) -> Collection
fn child(&self, _index: usize) -> Result<Collection>
impl DataType for TimeDt
Auto Trait Implementations§
impl Freeze for TimeDt
impl RefUnwindSafe for TimeDt
impl Send for TimeDt
impl Sync for TimeDt
impl Unpin for TimeDt
impl UnwindSafe for TimeDt
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