pub struct UnixTimestampMilliseconds(pub u64);
Tuple Fields§
§0: u64
Implementations§
Source§impl UnixTimestampMilliseconds
impl UnixTimestampMilliseconds
pub fn as_f64_seconds(self) -> f64
Trait Implementations§
Source§impl Clone for UnixTimestampMilliseconds
impl Clone for UnixTimestampMilliseconds
Source§fn clone(&self) -> UnixTimestampMilliseconds
fn clone(&self) -> UnixTimestampMilliseconds
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 UnixTimestampMilliseconds
impl Debug for UnixTimestampMilliseconds
Source§impl Default for UnixTimestampMilliseconds
impl Default for UnixTimestampMilliseconds
Source§fn default() -> UnixTimestampMilliseconds
fn default() -> UnixTimestampMilliseconds
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UnixTimestampMilliseconds
impl<'de> Deserialize<'de> for UnixTimestampMilliseconds
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for UnixTimestampMilliseconds
impl Hash for UnixTimestampMilliseconds
Source§impl Ord for UnixTimestampMilliseconds
impl Ord for UnixTimestampMilliseconds
Source§fn cmp(&self, other: &UnixTimestampMilliseconds) -> Ordering
fn cmp(&self, other: &UnixTimestampMilliseconds) -> 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 PartialOrd for UnixTimestampMilliseconds
impl PartialOrd for UnixTimestampMilliseconds
impl Copy for UnixTimestampMilliseconds
impl Eq for UnixTimestampMilliseconds
impl StructuralPartialEq for UnixTimestampMilliseconds
Auto Trait Implementations§
impl Freeze for UnixTimestampMilliseconds
impl RefUnwindSafe for UnixTimestampMilliseconds
impl Send for UnixTimestampMilliseconds
impl Sync for UnixTimestampMilliseconds
impl Unpin for UnixTimestampMilliseconds
impl UnwindSafe for UnixTimestampMilliseconds
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