pub struct TimestampMillis(/* private fields */);Implementations§
Source§impl TimestampMillis
impl TimestampMillis
pub const fn from_unix_millis(value: i64) -> Self
pub const fn as_unix_millis(self) -> i64
Trait Implementations§
Source§impl Clone for TimestampMillis
impl Clone for TimestampMillis
Source§fn clone(&self) -> TimestampMillis
fn clone(&self) -> TimestampMillis
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TimestampMillis
Source§impl Debug for TimestampMillis
impl Debug for TimestampMillis
Source§impl<'de> Deserialize<'de> for TimestampMillis
impl<'de> Deserialize<'de> for TimestampMillis
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
impl Eq for TimestampMillis
Source§impl Hash for TimestampMillis
impl Hash for TimestampMillis
Source§impl Ord for TimestampMillis
impl Ord for TimestampMillis
Source§fn cmp(&self, other: &TimestampMillis) -> Ordering
fn cmp(&self, other: &TimestampMillis) -> Ordering
1.21.0 (const: unstable) · 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 TimestampMillis
impl PartialEq for TimestampMillis
Source§impl PartialOrd for TimestampMillis
impl PartialOrd for TimestampMillis
Source§impl Serialize for TimestampMillis
impl Serialize for TimestampMillis
impl StructuralPartialEq for TimestampMillis
Auto Trait Implementations§
impl Freeze for TimestampMillis
impl RefUnwindSafe for TimestampMillis
impl Send for TimestampMillis
impl Sync for TimestampMillis
impl Unpin for TimestampMillis
impl UnsafeUnpin for TimestampMillis
impl UnwindSafe for TimestampMillis
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