pub struct Timestamp64 { /* private fields */ }
Expand description
Represents timestamp 64 extension type. This stores 34bit unsigned seconds and 30bit nanoseconds
Implementations§
Source§impl Timestamp64
impl Timestamp64
Trait Implementations§
Source§impl Clone for Timestamp64
impl Clone for Timestamp64
Source§fn clone(&self) -> Timestamp64
fn clone(&self) -> Timestamp64
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 Timestamp64
impl Debug for Timestamp64
Source§impl<'de> DecodeBorrowed<'de> for Timestamp64
impl<'de> DecodeBorrowed<'de> for Timestamp64
Source§type Value = Timestamp64
type Value = Timestamp64
The decoded value.
Source§fn decode_borrowed_with_format<R>(
format: Format,
reader: &mut R,
) -> Result<Self::Value, DecodeError<R::Error>>where
R: IoRead<'de>,
fn decode_borrowed_with_format<R>(
format: Format,
reader: &mut R,
) -> Result<Self::Value, DecodeError<R::Error>>where
R: IoRead<'de>,
Decode with a previously read
Format
.Source§fn decode_borrowed<R>(
reader: &mut R,
) -> Result<<Self as DecodeBorrowed<'de>>::Value, Error<R::Error>>where
R: IoRead<'de>,
fn decode_borrowed<R>(
reader: &mut R,
) -> Result<<Self as DecodeBorrowed<'de>>::Value, Error<R::Error>>where
R: IoRead<'de>,
Decode the next value.
Source§impl<W: IoWrite> Encode<W> for Timestamp64
impl<W: IoWrite> Encode<W> for Timestamp64
Source§impl From<Timestamp64> for Duration
impl From<Timestamp64> for Duration
Source§fn from(value: Timestamp64) -> Self
fn from(value: Timestamp64) -> Self
Converts to this type from the input type.
Source§impl From<Timestamp64> for FixedExtension<8>
impl From<Timestamp64> for FixedExtension<8>
Source§fn from(value: Timestamp64) -> Self
fn from(value: Timestamp64) -> Self
Converts to this type from the input type.
Source§impl Ord for Timestamp64
impl Ord for Timestamp64
Source§fn cmp(&self, other: &Timestamp64) -> Ordering
fn cmp(&self, other: &Timestamp64) -> 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 Timestamp64
impl PartialEq for Timestamp64
Source§impl PartialOrd for Timestamp64
impl PartialOrd for Timestamp64
Source§impl TryFrom<Duration> for Timestamp64
impl TryFrom<Duration> for Timestamp64
Source§impl TryFrom<ExtensionRef<'_>> for Timestamp64
impl TryFrom<ExtensionRef<'_>> for Timestamp64
Source§type Error = TryFromTimestampError
type Error = TryFromTimestampError
The type returned in the event of a conversion error.
Source§impl TryFrom<FixedExtension<8>> for Timestamp64
impl TryFrom<FixedExtension<8>> for Timestamp64
Source§type Error = TryFromTimestampError
type Error = TryFromTimestampError
The type returned in the event of a conversion error.
impl Copy for Timestamp64
impl Eq for Timestamp64
impl StructuralPartialEq for Timestamp64
Auto Trait Implementations§
impl Freeze for Timestamp64
impl RefUnwindSafe for Timestamp64
impl Send for Timestamp64
impl Sync for Timestamp64
impl Unpin for Timestamp64
impl UnwindSafe for Timestamp64
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<'de, T> Decode<'de> for Twhere
T: DecodeBorrowed<'de> + 'de,
impl<'de, T> Decode<'de> for Twhere
T: DecodeBorrowed<'de> + 'de,
Source§type Value<'a> = <T as DecodeBorrowed<'de>>::Value
where
'de: 'a,
T: 'a
type Value<'a> = <T as DecodeBorrowed<'de>>::Value where 'de: 'a, T: 'a
The decoded value (may borrow for
'a
).