Enum arrow_schema::TimeUnit
source · pub enum TimeUnit {
Second,
Millisecond,
Microsecond,
Nanosecond,
}
Expand description
An absolute length of time in seconds, milliseconds, microseconds or nanoseconds.
Variants§
Second
Time in seconds.
Millisecond
Time in milliseconds.
Microsecond
Time in microseconds.
Nanosecond
Time in nanoseconds.
Trait Implementations§
source§impl Ord for TimeUnit
impl Ord for TimeUnit
source§impl PartialEq<TimeUnit> for TimeUnit
impl PartialEq<TimeUnit> for TimeUnit
source§impl PartialOrd<TimeUnit> for TimeUnit
impl PartialOrd<TimeUnit> for TimeUnit
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more