pub struct Time(/* private fields */);
Implementations§
Trait Implementations§
Source§impl AddAssign<Duration> for Time
impl AddAssign<Duration> for Time
Source§fn add_assign(&mut self, rhs: Duration)
fn add_assign(&mut self, rhs: Duration)
Performs the
+=
operation. Read moreSource§impl<'de> Deserialize<'de> for Time
impl<'de> Deserialize<'de> for Time
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<OffsetDateTime> for Time
impl From<OffsetDateTime> for Time
Source§fn from(original: OffsetDateTime) -> Time
fn from(original: OffsetDateTime) -> Time
Converts to this type from the input type.
Source§impl From<Time> for OffsetDateTime
impl From<Time> for OffsetDateTime
Source§impl Ord for Time
impl Ord for Time
Source§impl PartialOrd for Time
impl PartialOrd for Time
Source§impl SubAssign<Duration> for Time
impl SubAssign<Duration> for Time
Source§fn sub_assign(&mut self, rhs: Duration)
fn sub_assign(&mut self, rhs: Duration)
Performs the
-=
operation. Read moreSource§impl TensorValue for Time
impl TensorValue for Time
const TENSOR_TYPE: TensorType = TensorType::Timestamp
Source§const NULLABLE: bool = false
const NULLABLE: bool = false
Whether this type is nullable/maskable. Should be
false
for all types except Option<T>
.Source§type Array = PrimitiveArray<TimestampNanosecondType>
type Array = PrimitiveArray<TimestampNanosecondType>
Arrow array type used to store raw values.
Source§type Masked = Option<Time>
type Masked = Option<Time>
Masked value type. For
Option<T>
this is Option<T>
.
For all other T
this should be Option<T>
.Source§type Unmasked = Time
type Unmasked = Time
Unmasked value type. For
Option<T>
this is T
. For all other T
this should be T
.Source§fn value(array: &Self::Array, i: usize) -> Self
fn value(array: &Self::Array, i: usize) -> Self
Returns the value at index
i
in array
.
Panics if i >= array.len()
.Source§unsafe fn value_unchecked(array: &Self::Array, i: usize) -> Self
unsafe fn value_unchecked(array: &Self::Array, i: usize) -> Self
Returns the value at index
i
without bounds checking. Read moreSource§fn to_unmasked(value: Self) -> Self::Unmasked
fn to_unmasked(value: Self) -> Self::Unmasked
Unwrap the inner value from its masked type. Read more
Source§fn from_iter_masked<I>(iter: I) -> Self::Arraywhere
I: IntoIterator<Item = Self::Masked>,
fn from_iter_masked<I>(iter: I) -> Self::Arraywhere
I: IntoIterator<Item = Self::Masked>,
Constructs an array from an iterator of masked values.
fn from_vec(values: Vec<Self>) -> Self::Array
Source§unsafe fn from_trusted_len_iter_masked<I>(iter: I) -> Self::Arraywhere
I: IntoIterator<Item = Self::Masked>,
unsafe fn from_trusted_len_iter_masked<I>(iter: I) -> Self::Arraywhere
I: IntoIterator<Item = Self::Masked>,
Constructs an array from an iterator of masked values. Read more
Source§fn from_array_data(data: ArrayData) -> Self::Array
fn from_array_data(data: ArrayData) -> Self::Array
Source§fn from_iter<I>(iter: I) -> Self::Arraywhere
I: IntoIterator<Item = Self>,
fn from_iter<I>(iter: I) -> Self::Arraywhere
I: IntoIterator<Item = Self>,
Constructs an array from an iterator of values.
Source§unsafe fn from_trusted_len_iter<I>(iter: I) -> Self::Arraywhere
I: IntoIterator<Item = Self>,
unsafe fn from_trusted_len_iter<I>(iter: I) -> Self::Arraywhere
I: IntoIterator<Item = Self>,
Constructs an array from an iterator of values. Read more
impl Copy for Time
impl Eq for Time
impl StructuralPartialEq for Time
Auto Trait Implementations§
impl Freeze for Time
impl RefUnwindSafe for Time
impl Send for Time
impl Sync for Time
impl Unpin for Time
impl UnwindSafe for Time
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more