pub struct KeyTimestamp(/* private fields */);Implementations§
Source§impl KeyTimestamp
impl KeyTimestamp
pub fn get_timestamp(&self) -> i64
pub fn is_expired(&self) -> bool
Trait Implementations§
Source§impl Clone for KeyTimestamp
impl Clone for KeyTimestamp
Source§fn clone(&self) -> KeyTimestamp
fn clone(&self) -> KeyTimestamp
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 KeyTimestamp
impl Debug for KeyTimestamp
Source§impl From<i64> for KeyTimestamp
impl From<i64> for KeyTimestamp
impl Copy for KeyTimestamp
Auto Trait Implementations§
impl Freeze for KeyTimestamp
impl RefUnwindSafe for KeyTimestamp
impl Send for KeyTimestamp
impl Sync for KeyTimestamp
impl Unpin for KeyTimestamp
impl UnwindSafe for KeyTimestamp
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