pub trait Stored:
Clone
+ Send
+ Sync
+ 'static {
// Required methods
fn key(&self) -> String;
fn last_updated(&self) -> DateTime;
}Available on crate feature
testkit only.Expand description
An object that a store can hold: it has an id and a last_updated.
Required Methods§
Sourcefn last_updated(&self) -> DateTime
fn last_updated(&self) -> DateTime
The last_updated the pagination filters on.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".