[−][src]Trait emseries::Recordable
Any element to be put into the database needs to be Recordable. This is the common API that will aid in searching and later in indexing records.
Required methods
fn timestamp(&self) -> DateTime<Utc>
The timestamp for the record.
fn tags(&self) -> Vec<String>
A list of string tags that can be used for indexing. This list defined per-type.
Implementors
impl<T> Recordable for Record<T> where
T: Clone + Recordable,
[src]
T: Clone + Recordable,