pub struct Time(_);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 PartialEq<Time> for Time
impl PartialEq<Time> for Time
source§impl PartialOrd<Time> for Time
impl PartialOrd<Time> for Time
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§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
§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>.§type Unmasked = Time
type Unmasked = Time
Unmasked value type. For
Option<T> this is T. For all other T this should be T.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§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>::Arraywhere
I: IntoIterator<Item = <Time as TensorValue>::Masked>,
fn from_iter_masked<I>(iter: I) -> <Time as TensorValue>::Arraywhere I: IntoIterator<Item = <Time as TensorValue>::Masked>,
Constructs an array from an iterator of masked values.
fn from_vec(values: Vec<Time, Global>) -> <Time as TensorValue>::Array
source§unsafe fn from_trusted_len_iter_masked<I>(
iter: I
) -> <Time as TensorValue>::Arraywhere
I: IntoIterator<Item = <Time as TensorValue>::Masked>,
unsafe fn from_trusted_len_iter_masked<I>( iter: I ) -> <Time as TensorValue>::Arraywhere I: IntoIterator<Item = <Time as TensorValue>::Masked>,
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
Constructs an array from [
ArrayData]. Read moresource§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 StructuralEq for Time
impl StructuralPartialEq for Time
Auto Trait Implementations§
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§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> 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