Enum arrow2::datatypes::IntervalUnit
source · pub enum IntervalUnit {
YearMonth,
DayTime,
MonthDayNano,
}
Expand description
Interval units defined in Arrow
Variants§
YearMonth
The number of elapsed whole months.
DayTime
The number of elapsed days and milliseconds,
stored as 2 contiguous i32
MonthDayNano
The number of elapsed months (i32), days (i32) and nanoseconds (i64).
Trait Implementations§
source§impl Clone for IntervalUnit
impl Clone for IntervalUnit
source§fn clone(&self) -> IntervalUnit
fn clone(&self) -> IntervalUnit
Returns a copy 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 IntervalUnit
impl Debug for IntervalUnit
source§impl Hash for IntervalUnit
impl Hash for IntervalUnit
source§impl PartialEq for IntervalUnit
impl PartialEq for IntervalUnit
source§fn eq(&self, other: &IntervalUnit) -> bool
fn eq(&self, other: &IntervalUnit) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for IntervalUnit
impl Eq for IntervalUnit
impl StructuralPartialEq for IntervalUnit
Auto Trait Implementations§
impl Freeze for IntervalUnit
impl RefUnwindSafe for IntervalUnit
impl Send for IntervalUnit
impl Sync for IntervalUnit
impl Unpin for IntervalUnit
impl UnwindSafe for IntervalUnit
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