pub struct Timestamp96 { /* private fields */ }
Expand description
Represents timestamp 96 extension type. This stores 64bit signed seconds and 32bit nanoseconds
Implementations§
Source§impl Timestamp96
impl Timestamp96
Trait Implementations§
Source§impl Clone for Timestamp96
impl Clone for Timestamp96
Source§fn clone(&self) -> Timestamp96
fn clone(&self) -> Timestamp96
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 Timestamp96
impl Debug for Timestamp96
Source§impl<'de> DecodeBorrowed<'de> for Timestamp96
impl<'de> DecodeBorrowed<'de> for Timestamp96
Source§type Value = Timestamp96
type Value = Timestamp96
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 Timestamp96
impl<W: IoWrite> Encode<W> for Timestamp96
Source§impl From<Timestamp96> for FixedExtension<12>
impl From<Timestamp96> for FixedExtension<12>
Source§fn from(value: Timestamp96) -> Self
fn from(value: Timestamp96) -> Self
Converts to this type from the input type.
Source§impl Ord for Timestamp96
impl Ord for Timestamp96
Source§fn cmp(&self, other: &Timestamp96) -> Ordering
fn cmp(&self, other: &Timestamp96) -> 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 Timestamp96
impl PartialEq for Timestamp96
Source§impl PartialOrd for Timestamp96
impl PartialOrd for Timestamp96
Source§impl TryFrom<Duration> for Timestamp96
impl TryFrom<Duration> for Timestamp96
Source§impl TryFrom<ExtensionRef<'_>> for Timestamp96
impl TryFrom<ExtensionRef<'_>> for Timestamp96
Source§type Error = TryFromTimestampError
type Error = TryFromTimestampError
The type returned in the event of a conversion error.
Source§impl TryFrom<FixedExtension<12>> for Timestamp96
impl TryFrom<FixedExtension<12>> for Timestamp96
Source§type Error = TryFromTimestampError
type Error = TryFromTimestampError
The type returned in the event of a conversion error.
Source§impl TryFrom<Timestamp96> for Duration
impl TryFrom<Timestamp96> for Duration
Source§type Error = TryFromIntError
type Error = TryFromIntError
The type returned in the event of a conversion error.
impl Copy for Timestamp96
impl Eq for Timestamp96
impl StructuralPartialEq for Timestamp96
Auto Trait Implementations§
impl Freeze for Timestamp96
impl RefUnwindSafe for Timestamp96
impl Send for Timestamp96
impl Sync for Timestamp96
impl Unpin for Timestamp96
impl UnwindSafe for Timestamp96
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
).