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<Time, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Time, <__D as Deserializer<'de>>::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§fn from(original: Time) -> OffsetDateTime
fn from(original: Time) -> OffsetDateTime
Converts to this type from the input type.
Source§impl Ord for Time
impl Ord for Time
Source§impl PartialOrd for Time
impl PartialOrd for Time
Source§impl Serialize for Time
impl Serialize for Time
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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: &<Time as TensorValue>::Array, i: usize) -> Time
fn value(array: &<Time as TensorValue>::Array, i: usize) -> Time
Returns the value at index
i in array.
Panics if i >= array.len().Source§unsafe fn value_unchecked(
array: &<Time as TensorValue>::Array,
i: usize,
) -> Time
unsafe fn value_unchecked( array: &<Time as TensorValue>::Array, i: usize, ) -> Time
Returns the value at index
i without bounds checking. Read moreSource§fn to_masked(value: Time) -> <Time as TensorValue>::Masked
fn to_masked(value: Time) -> <Time as TensorValue>::Masked
Wrap
value in its masked type. Read moreSource§fn to_unmasked(value: Time) -> <Time as TensorValue>::Unmasked
fn to_unmasked(value: Time) -> <Time as TensorValue>::Unmasked
Unwrap the inner value from its masked type. Read more
Source§fn from_iter_masked<I>(iter: I) -> <Time as TensorValue>::Array
fn from_iter_masked<I>(iter: I) -> <Time as TensorValue>::Array
Constructs an array from an iterator of masked values.
fn from_vec(values: Vec<Time>) -> <Time as TensorValue>::Array
Source§unsafe fn from_trusted_len_iter_masked<I>(
iter: I,
) -> <Time as TensorValue>::Array
unsafe fn from_trusted_len_iter_masked<I>( iter: I, ) -> <Time as TensorValue>::Array
Constructs an array from an iterator of masked values. Read more
Source§fn slice(
array: &<Time as TensorValue>::Array,
offset: usize,
length: usize,
) -> <Time as TensorValue>::Array
fn slice( array: &<Time as TensorValue>::Array, offset: usize, length: usize, ) -> <Time as TensorValue>::Array
Source§fn from_array_data(data: ArrayData) -> <Time as TensorValue>::Array
fn from_array_data(data: ArrayData) -> <Time as TensorValue>::Array
Source§fn format(&self, f: &mut Formatter<'_>) -> Result<(), Error>
fn format(&self, f: &mut Formatter<'_>) -> Result<(), Error>
Writes the value of
self to formatter f.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> FromBase64 for Twhere
T: for<'de> Deserialize<'de>,
impl<T> FromBase64 for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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 moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request