Struct arrow::datatypes::IntervalMonthDayNanoType
source · [−]pub struct IntervalMonthDayNanoType {}
Implementations
sourceimpl 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
sourceimpl ArrowPrimitiveType for IntervalMonthDayNanoType
impl ArrowPrimitiveType for IntervalMonthDayNanoType
sourcefn get_byte_width() -> usize
fn get_byte_width() -> usize
Returns the byte width of this primitive type.
sourcefn default_value() -> Self::Native
fn default_value() -> Self::Native
Returns a default value of this primitive type. Read more
sourceimpl 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more