Struct arrow::datatypes::IntervalDayTimeType
source · [−]pub struct IntervalDayTimeType {}
Implementations
sourceimpl IntervalDayTimeType
impl IntervalDayTimeType
sourcepub fn make_value(
days: i32,
millis: i32
) -> <IntervalDayTimeType as ArrowPrimitiveType>::Native
pub fn make_value(
days: i32,
millis: i32
) -> <IntervalDayTimeType as ArrowPrimitiveType>::Native
Creates a IntervalDayTimeType::Native
Arguments
days
- The number of days (+/-) represented in this intervalmillis
- The number of milliseconds (+/-) represented in this interval
sourcepub fn to_parts(
i: <IntervalDayTimeType as ArrowPrimitiveType>::Native
) -> (i32, i32)
pub fn to_parts(
i: <IntervalDayTimeType as ArrowPrimitiveType>::Native
) -> (i32, i32)
Turns a IntervalDayTimeType into a tuple of (days, milliseconds)
Arguments
i
- The IntervalDayTimeType to convert
Trait Implementations
sourceimpl ArrowPrimitiveType for IntervalDayTimeType
impl ArrowPrimitiveType for IntervalDayTimeType
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 IntervalDayTimeType
impl Debug for IntervalDayTimeType
impl ArrowNumericType for IntervalDayTimeType
Auto Trait Implementations
impl RefUnwindSafe for IntervalDayTimeType
impl Send for IntervalDayTimeType
impl Sync for IntervalDayTimeType
impl Unpin for IntervalDayTimeType
impl UnwindSafe for IntervalDayTimeType
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