Struct IntervalDayTimeType
pub struct IntervalDayTimeType {}
Expand description
“Calendar” interval type: days and milliseconds. See IntervalDayTime
for more details.
Implementations§
§impl IntervalDayTimeType
impl IntervalDayTimeType
pub fn make_value(days: i32, milliseconds: i32) -> IntervalDayTime
pub fn make_value(days: i32, milliseconds: i32) -> IntervalDayTime
Creates a IntervalDayTimeType::Native
§Arguments
days
- The number of days (+/-) represented in this intervalmillis
- The number of milliseconds (+/-) represented in this interval
pub fn to_parts(i: IntervalDayTime) -> (i32, i32)
pub fn to_parts(i: IntervalDayTime) -> (i32, i32)
Turns a IntervalDayTimeType into a tuple of (days, milliseconds)
§Arguments
i
- The IntervalDayTimeType to convert
Trait Implementations§
§impl ArrowPrimitiveType for IntervalDayTimeType
impl ArrowPrimitiveType for IntervalDayTimeType
§type Native = IntervalDayTime
type Native = IntervalDayTime
Corresponding Rust native type for the primitive type.
§fn get_byte_width() -> usize
fn get_byte_width() -> usize
👎Deprecated since 52.0.0: Use ArrowNativeType::get_byte_width
Returns the byte width of this primitive type.
§fn default_value() -> Self::Native
fn default_value() -> Self::Native
Returns a default value of this primitive type. Read more
Auto Trait Implementations§
impl Freeze for IntervalDayTimeType
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