Struct ella_common::time::Time
source · 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<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 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 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>.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: &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
Constructs an array from [
ArrowData]. Read moresource§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.