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 moreimpl Eq for TimeUnit
impl StructuralEq for TimeUnit
impl StructuralPartialEq for TimeUnit
Auto Trait Implementations§
impl RefUnwindSafe for TimeUnit
impl Send for TimeUnit
impl Sync for TimeUnit
impl Unpin for TimeUnit
impl UnwindSafe for TimeUnit
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