pub struct TimestampTz<U: TimeUnitSpec, Z: TimeZoneSpec>(/* private fields */);Expand description
Timestamp with time unit U and timezone marker Z.
Implementations§
Source§impl<U: TimeUnitSpec, Z: TimeZoneSpec> TimestampTz<U, Z>
impl<U: TimeUnitSpec, Z: TimeZoneSpec> TimestampTz<U, Z>
Trait Implementations§
Source§impl<U: TimeUnitSpec, Z: TimeZoneSpec> ArrowBinding for TimestampTz<U, Z>
impl<U: TimeUnitSpec, Z: TimeZoneSpec> ArrowBinding for TimestampTz<U, Z>
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, Z: TimeZoneSpec + 'static> ArrowBindingView for TimestampTz<U, Z>
Available on crate feature views only.
impl<U: TimeUnitSpec + 'static, Z: TimeZoneSpec + 'static> ArrowBindingView for TimestampTz<U, Z>
Available on crate feature
views only.Source§type Array = PrimitiveArray<<U as TimeUnitSpec>::Arrow>
type Array = PrimitiveArray<<U as TimeUnitSpec>::Arrow>
The Arrow array type this view reads from.
Source§type View<'a> = TimestampTz<U, Z>
type View<'a> = TimestampTz<U, Z>
The borrowed view type returned when accessing array elements.
For example:
&'a str for StringArray, i64 for Int64Array.Source§impl<U: Clone + TimeUnitSpec, Z: Clone + TimeZoneSpec> Clone for TimestampTz<U, Z>
impl<U: Clone + TimeUnitSpec, Z: Clone + TimeZoneSpec> Clone for TimestampTz<U, Z>
Source§fn clone(&self) -> TimestampTz<U, Z>
fn clone(&self) -> TimestampTz<U, Z>
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<U: Debug + TimeUnitSpec, Z: Debug + TimeZoneSpec> Debug for TimestampTz<U, Z>
impl<U: Debug + TimeUnitSpec, Z: Debug + TimeZoneSpec> Debug for TimestampTz<U, Z>
Source§impl<U: Hash + TimeUnitSpec, Z: Hash + TimeZoneSpec> Hash for TimestampTz<U, Z>
impl<U: Hash + TimeUnitSpec, Z: Hash + TimeZoneSpec> Hash for TimestampTz<U, Z>
Source§impl<U: Ord + TimeUnitSpec, Z: Ord + TimeZoneSpec> Ord for TimestampTz<U, Z>
impl<U: Ord + TimeUnitSpec, Z: Ord + TimeZoneSpec> Ord for TimestampTz<U, Z>
Source§fn cmp(&self, other: &TimestampTz<U, Z>) -> Ordering
fn cmp(&self, other: &TimestampTz<U, Z>) -> 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<U: PartialEq + TimeUnitSpec, Z: PartialEq + TimeZoneSpec> PartialEq for TimestampTz<U, Z>
impl<U: PartialEq + TimeUnitSpec, Z: PartialEq + TimeZoneSpec> PartialEq for TimestampTz<U, Z>
Source§impl<U: PartialOrd + TimeUnitSpec, Z: PartialOrd + TimeZoneSpec> PartialOrd for TimestampTz<U, Z>
impl<U: PartialOrd + TimeUnitSpec, Z: PartialOrd + TimeZoneSpec> PartialOrd for TimestampTz<U, Z>
impl<U: Copy + TimeUnitSpec, Z: Copy + TimeZoneSpec> Copy for TimestampTz<U, Z>
impl<U: Eq + TimeUnitSpec, Z: Eq + TimeZoneSpec> Eq for TimestampTz<U, Z>
impl<U: TimeUnitSpec, Z: TimeZoneSpec> StructuralPartialEq for TimestampTz<U, Z>
Auto Trait Implementations§
impl<U, Z> Freeze for TimestampTz<U, Z>
impl<U, Z> RefUnwindSafe for TimestampTz<U, Z>where
U: RefUnwindSafe,
Z: RefUnwindSafe,
impl<U, Z> Send for TimestampTz<U, Z>
impl<U, Z> Sync for TimestampTz<U, Z>
impl<U, Z> Unpin for TimestampTz<U, Z>
impl<U, Z> UnwindSafe for TimestampTz<U, Z>where
U: UnwindSafe,
Z: 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