Enum arrow2::datatypes::IntervalUnit [−][src]
pub enum IntervalUnit {
YearMonth,
DayTime,
MonthDayNano,
}
Expand description
Interval units defined in Arrow
Variants
Indicates the number of elapsed whole months, stored as 4-byte integers.
Indicates the number of elapsed days and milliseconds, stored as 2 contiguous 32-bit integers (8-bytes in total).
The values are stored contiguously in 16 byte blocks. Months and days are encoded as 32 bit integers and nanoseconds is encoded as a 64 bit integer. All integers are signed. Each field is independent (e.g. there is no constraint that nanoseconds have the same sign as days or that the quantitiy of nanoseconds represents less then a day’s worth of time).
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for IntervalUnit
impl Send for IntervalUnit
impl Sync for IntervalUnit
impl Unpin for IntervalUnit
impl UnwindSafe for IntervalUnit
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.