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.
Source§impl ArrowBindingView for IntervalDayTime
Available on crate feature views only.
impl ArrowBindingView for IntervalDayTime
Available on crate feature
views only.Source§type Array = PrimitiveArray<IntervalDayTimeType>
type Array = PrimitiveArray<IntervalDayTimeType>
The Arrow array type this view reads from.
Source§type View<'a> = IntervalDayTime
type View<'a> = IntervalDayTime
The borrowed view type returned when accessing array elements.
For example:
&'a str for StringArray, i64 for Int64Array.Source§impl Clone for IntervalDayTime
impl Clone for IntervalDayTime
Source§fn clone(&self) -> IntervalDayTime
fn clone(&self) -> IntervalDayTime
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IntervalDayTime
impl Debug for IntervalDayTime
Source§impl Hash for IntervalDayTime
impl Hash for IntervalDayTime
Source§impl Ord for IntervalDayTime
impl Ord for IntervalDayTime
Source§fn cmp(&self, other: &IntervalDayTime) -> Ordering
fn cmp(&self, other: &IntervalDayTime) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for IntervalDayTime
impl PartialEq for IntervalDayTime
Source§impl PartialOrd for IntervalDayTime
impl PartialOrd for IntervalDayTime
impl Copy for IntervalDayTime
impl Eq for IntervalDayTime
impl StructuralPartialEq for IntervalDayTime
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