Enum ion_schema::isl::util::TimestampOffset
source · pub enum TimestampOffset {
Known(i32),
Unknown,
}
Expand description
Represent a timestamp offset
Known timestamp offset value is stored in minutes as i32 value
For example, “+07::00” wil be stored as TimestampOffset::Known(420)
Variants§
Trait Implementations§
source§impl Clone for TimestampOffset
impl Clone for TimestampOffset
source§fn clone(&self) -> TimestampOffset
fn clone(&self) -> TimestampOffset
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TimestampOffset
impl Debug for TimestampOffset
source§impl Display for TimestampOffset
impl Display for TimestampOffset
source§impl PartialEq for TimestampOffset
impl PartialEq for TimestampOffset
source§fn eq(&self, other: &TimestampOffset) -> bool
fn eq(&self, other: &TimestampOffset) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<&str> for TimestampOffset
impl TryFrom<&str> for TimestampOffset
source§impl WriteToIsl for TimestampOffset
impl WriteToIsl for TimestampOffset
impl Eq for TimestampOffset
impl StructuralPartialEq for TimestampOffset
Auto Trait Implementations§
impl RefUnwindSafe for TimestampOffset
impl Send for TimestampOffset
impl Sync for TimestampOffset
impl Unpin for TimestampOffset
impl UnwindSafe for TimestampOffset
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