Enum ion_schema::isl::util::TimestampPrecision
source · [−]pub enum TimestampPrecision {
Year,
Month,
Day,
Minute,
Second,
Millisecond,
Microsecond,
Nanosecond,
OtherFractionalSeconds(i64),
}Variants
Year
Month
Day
Minute
Second
Millisecond
Microsecond
Nanosecond
OtherFractionalSeconds(i64)
Implementations
sourceimpl TimestampPrecision
impl TimestampPrecision
pub fn from_timestamp(timestamp_value: &Timestamp) -> TimestampPrecision
Trait Implementations
sourceimpl Clone for TimestampPrecision
impl Clone for TimestampPrecision
sourcefn clone(&self) -> TimestampPrecision
fn clone(&self) -> TimestampPrecision
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for TimestampPrecision
impl Debug for TimestampPrecision
sourceimpl PartialEq<TimestampPrecision> for TimestampPrecision
impl PartialEq<TimestampPrecision> for TimestampPrecision
sourcefn eq(&self, other: &TimestampPrecision) -> bool
fn eq(&self, other: &TimestampPrecision) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourceimpl PartialOrd<TimestampPrecision> for TimestampPrecision
impl PartialOrd<TimestampPrecision> for TimestampPrecision
sourcefn partial_cmp(&self, other: &TimestampPrecision) -> Option<Ordering>
fn partial_cmp(&self, other: &TimestampPrecision) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · sourcefn 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 more
sourceimpl TryFrom<&str> for TimestampPrecision
impl TryFrom<&str> for TimestampPrecision
impl Eq for TimestampPrecision
impl StructuralEq for TimestampPrecision
impl StructuralPartialEq for TimestampPrecision
Auto Trait Implementations
impl RefUnwindSafe for TimestampPrecision
impl Send for TimestampPrecision
impl Sync for TimestampPrecision
impl Unpin for TimestampPrecision
impl UnwindSafe for TimestampPrecision
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more