Trait Timestamped

Source
pub trait Timestamped {
    // Required method
    fn timestamp(&self) -> Timestamp;
}
Expand description

A trait for marking timestamped data

Required Methods§

Source

fn timestamp(&self) -> Timestamp

Gets the timestamp

Implementations on Foreign Types§

Source§

impl<T: Timestamped> Timestamped for &T

Implementors§