Struct arrow_array::types::IntervalMonthDayNanoType
source · pub struct IntervalMonthDayNanoType {}
Expand description
A “calendar” interval type in months, days, and nanoseconds.
Implementations§
source§impl IntervalMonthDayNanoType
impl IntervalMonthDayNanoType
sourcepub fn make_value(
months: i32,
days: i32,
nanos: i64
) -> <IntervalMonthDayNanoType as ArrowPrimitiveType>::Native
pub fn make_value( months: i32, days: i32, nanos: i64 ) -> <IntervalMonthDayNanoType as ArrowPrimitiveType>::Native
Creates a IntervalMonthDayNanoType::Native
Arguments
months
- The number of months (+/-) represented in this intervaldays
- The number of days (+/-) represented in this intervalnanos
- The number of nanoseconds (+/-) represented in this interval
sourcepub fn to_parts(
i: <IntervalMonthDayNanoType as ArrowPrimitiveType>::Native
) -> (i32, i32, i64)
pub fn to_parts( i: <IntervalMonthDayNanoType as ArrowPrimitiveType>::Native ) -> (i32, i32, i64)
Turns a IntervalMonthDayNanoType into a tuple of (months, days, nanos)
Arguments
i
- The IntervalMonthDayNanoType to convert
Trait Implementations§
source§impl ArrowPrimitiveType for IntervalMonthDayNanoType
impl ArrowPrimitiveType for IntervalMonthDayNanoType
source§fn get_byte_width() -> usize
fn get_byte_width() -> usize
Returns the byte width of this primitive type.
source§fn default_value() -> Self::Native
fn default_value() -> Self::Native
Returns a default value of this primitive type. Read more
source§impl Debug for IntervalMonthDayNanoType
impl Debug for IntervalMonthDayNanoType
impl ArrowNumericType for IntervalMonthDayNanoType
Auto Trait Implementations§
impl RefUnwindSafe for IntervalMonthDayNanoType
impl Send for IntervalMonthDayNanoType
impl Sync for IntervalMonthDayNanoType
impl Unpin for IntervalMonthDayNanoType
impl UnwindSafe for IntervalMonthDayNanoType
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