pub struct IntervalMonthDayNano(/* private fields */);
Expand description
Interval with unit MonthDayNano
(packed months, days, and nanoseconds).
Implementations§
Source§impl IntervalMonthDayNano
impl IntervalMonthDayNano
Sourcepub fn new(value: IntervalMonthDayNano) -> Self
pub fn new(value: IntervalMonthDayNano) -> Self
Construct a new MonthDayNano
interval from the native Arrow struct.
Sourcepub fn value(&self) -> IntervalMonthDayNano
pub fn value(&self) -> IntervalMonthDayNano
Return the underlying Arrow MonthDayNano
interval value.
Sourcepub fn into_value(self) -> IntervalMonthDayNano
pub fn into_value(self) -> IntervalMonthDayNano
Consume and return the underlying Arrow MonthDayNano
interval value.
Trait Implementations§
Source§impl ArrowBinding for IntervalMonthDayNano
impl ArrowBinding for IntervalMonthDayNano
Source§type Builder = PrimitiveBuilder<IntervalMonthDayNanoType>
type Builder = PrimitiveBuilder<IntervalMonthDayNanoType>
Concrete Arrow builder type used for this Rust type.
Source§type Array = PrimitiveArray<IntervalMonthDayNanoType>
type Array = PrimitiveArray<IntervalMonthDayNanoType>
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 IntervalMonthDayNano
impl RefUnwindSafe for IntervalMonthDayNano
impl Send for IntervalMonthDayNano
impl Sync for IntervalMonthDayNano
impl Unpin for IntervalMonthDayNano
impl UnwindSafe for IntervalMonthDayNano
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