pub struct IntervalDayTime(/* private fields */);
Expand description
Interval with unit DayTime (packed days and milliseconds).
Implementations§
Source§impl IntervalDayTime
impl IntervalDayTime
Sourcepub fn new(value: IntervalDayTime) -> Self
pub fn new(value: IntervalDayTime) -> Self
Construct a new DayTime interval from the native Arrow struct.
Sourcepub fn value(&self) -> IntervalDayTime
pub fn value(&self) -> IntervalDayTime
Return the underlying Arrow DayTime interval value.
Sourcepub fn into_value(self) -> IntervalDayTime
pub fn into_value(self) -> IntervalDayTime
Consume and return the underlying Arrow DayTime interval value.
Trait Implementations§
Source§impl ArrowBinding for IntervalDayTime
impl ArrowBinding for IntervalDayTime
Source§type Builder = PrimitiveBuilder<IntervalDayTimeType>
type Builder = PrimitiveBuilder<IntervalDayTimeType>
Concrete Arrow builder type used for this Rust type.
Source§type Array = PrimitiveArray<IntervalDayTimeType>
type Array = PrimitiveArray<IntervalDayTimeType>
Concrete Arrow array type produced by
finish
.Source§fn new_builder(capacity: usize) -> Self::Builder
fn new_builder(capacity: usize) -> Self::Builder
Create a new builder with an optional capacity hint.
Source§fn append_value(b: &mut Self::Builder, v: &Self)
fn append_value(b: &mut Self::Builder, v: &Self)
Append a non-null value to the builder.
Source§fn append_null(b: &mut Self::Builder)
fn append_null(b: &mut Self::Builder)
Append a null to the builder.
Auto Trait Implementations§
impl Freeze for IntervalDayTime
impl RefUnwindSafe for IntervalDayTime
impl Send for IntervalDayTime
impl Sync for IntervalDayTime
impl Unpin for IntervalDayTime
impl UnwindSafe for IntervalDayTime
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