pub struct Timestamp24(pub ZoneNameTimestamp);Expand description
Encodes ZoneNameTimestamp in 3 bytes by dropping the unused metadata
Tuple Fields§
§0: ZoneNameTimestampTrait Implementations§
Source§impl AsULE for Timestamp24
impl AsULE for Timestamp24
Source§type ULE = RawBytesULE<3>
type ULE = RawBytesULE<3>
The ULE type corresponding to
Self. Read moreSource§fn to_unaligned(self) -> <Timestamp24 as AsULE>::ULE
fn to_unaligned(self) -> <Timestamp24 as AsULE>::ULE
Source§fn from_unaligned(_: <Timestamp24 as AsULE>::ULE) -> Timestamp24
fn from_unaligned(_: <Timestamp24 as AsULE>::ULE) -> Timestamp24
Source§impl Clone for Timestamp24
impl Clone for Timestamp24
Source§fn clone(&self) -> Timestamp24
fn clone(&self) -> Timestamp24
Returns a duplicate 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 Timestamp24
impl Debug for Timestamp24
Source§impl<'de> Deserialize<'de> for Timestamp24
impl<'de> Deserialize<'de> for Timestamp24
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Timestamp24, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Timestamp24, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Ord for Timestamp24
impl Ord for Timestamp24
Source§fn cmp(&self, other: &Timestamp24) -> Ordering
fn cmp(&self, other: &Timestamp24) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for Timestamp24
impl PartialEq for Timestamp24
Source§impl PartialOrd for Timestamp24
impl PartialOrd for Timestamp24
impl Copy for Timestamp24
impl Eq for Timestamp24
impl StructuralPartialEq for Timestamp24
Auto Trait Implementations§
impl Freeze for Timestamp24
impl RefUnwindSafe for Timestamp24
impl Send for Timestamp24
impl Sync for Timestamp24
impl Unpin for Timestamp24
impl UnwindSafe for Timestamp24
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<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 more