pub struct Timestamp<U: TimeUnitSpec>(/* private fields */);Expand description
Timestamp value (unit only, timezone = None).
Implementations§
Trait Implementations§
Source§impl<U: TimeUnitSpec> ArrowBinding for Timestamp<U>
impl<U: TimeUnitSpec> ArrowBinding for Timestamp<U>
Source§type Builder = PrimitiveBuilder<<U as TimeUnitSpec>::Arrow>
type Builder = PrimitiveBuilder<<U as TimeUnitSpec>::Arrow>
Concrete Arrow builder type used for this Rust type.
Source§type Array = PrimitiveArray<<U as TimeUnitSpec>::Arrow>
type Array = PrimitiveArray<<U as TimeUnitSpec>::Arrow>
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<U: TimeUnitSpec + 'static> ArrowBindingView for Timestamp<U>
Available on crate feature views only.
impl<U: TimeUnitSpec + 'static> ArrowBindingView for Timestamp<U>
Available on crate feature
views only.Source§impl<U: Ord + TimeUnitSpec> Ord for Timestamp<U>
impl<U: Ord + TimeUnitSpec> Ord for Timestamp<U>
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<U: PartialOrd + TimeUnitSpec> PartialOrd for Timestamp<U>
impl<U: PartialOrd + TimeUnitSpec> PartialOrd for Timestamp<U>
impl<U: Copy + TimeUnitSpec> Copy for Timestamp<U>
impl<U: Eq + TimeUnitSpec> Eq for Timestamp<U>
impl<U: TimeUnitSpec> StructuralPartialEq for Timestamp<U>
Auto Trait Implementations§
impl<U> Freeze for Timestamp<U>
impl<U> RefUnwindSafe for Timestamp<U>where
U: RefUnwindSafe,
impl<U> Send for Timestamp<U>where
U: Send,
impl<U> Sync for Timestamp<U>where
U: Sync,
impl<U> Unpin for Timestamp<U>where
U: Unpin,
impl<U> UnwindSafe for Timestamp<U>where
U: UnwindSafe,
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