Struct arrow_array::types::IntervalDayTimeType  
source · pub struct IntervalDayTimeType {}Expand description
A “calendar” interval type in days and milliseconds.
Implementations§
source§impl 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 interval
- millis- 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§
source§impl ArrowPrimitiveType for IntervalDayTimeType
 
impl ArrowPrimitiveType for IntervalDayTimeType
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 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§
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