Struct bosonnlp::ConvertedTime [] [src]

pub struct ConvertedTime {
    pub timestamp: Option<String>,
    pub timedelta: Option<String>,
    pub timespan: Option<(String, String)>,
    pub format: String,
}

时间转换结果

Fields

时间点,ISO8601 格式的时间字符串

时间量,格式为 "xday,HH:MM:SS" 或 "HH:MM:SS" 的字符串

表示时间点组成的时间区间结果,格式为 (timestamp, timestamp)(timedelta, timedelta) 表示时间区间的起始和结束时间

时间数据格式, 有 timestamptimedeltatimespan_0、和 timespan_1

Trait Implementations

impl Debug for ConvertedTime
[src]

Formats the value using the given formatter.

impl Clone for ConvertedTime
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more