Struct crev_wot::Timestamped
source · [−]Expand description
A T
with a timestamp
This allows easily keeping track of a most recent version
of T
. Typically T
is some information from a timestamped
proof of some kind.
Fields
date: DateTime<Utc>
Trait Implementations
sourceimpl<T: Clone> Clone for Timestamped<T>
impl<T: Clone> Clone for Timestamped<T>
sourcefn clone(&self) -> Timestamped<T>
fn clone(&self) -> Timestamped<T>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<T: Debug> Debug for Timestamped<T>
impl<T: Debug> Debug for Timestamped<T>
sourceimpl<'a, T: WithReview + Content + CommonOps> From<&'a T> for Timestamped<Review>
impl<'a, T: WithReview + Content + CommonOps> From<&'a T> for Timestamped<Review>
sourceimpl<T, Tz> From<(&DateTime<Tz>, T)> for Timestamped<T> where
Tz: TimeZone,
impl<T, Tz> From<(&DateTime<Tz>, T)> for Timestamped<T> where
Tz: TimeZone,
sourceimpl From<Trust> for Timestamped<TrustLevel>
impl From<Trust> for Timestamped<TrustLevel>
Auto Trait Implementations
impl<T> RefUnwindSafe for Timestamped<T> where
T: RefUnwindSafe,
impl<T> Send for Timestamped<T> where
T: Send,
impl<T> Sync for Timestamped<T> where
T: Sync,
impl<T> Unpin for Timestamped<T> where
T: Unpin,
impl<T> UnwindSafe for Timestamped<T> where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more