pub trait Timestamped: Aggregate {
const CREATED_AT: Column<Self, Instant> = _;
const UPDATED_AT: Column<Self, Instant> = _;
// Provided methods
fn created_at(&self) -> Option<Instant> { ... }
fn updated_at(&self) -> Option<Instant> { ... }
}Provided Associated Constants§
const CREATED_AT: Column<Self, Instant> = _
const UPDATED_AT: Column<Self, Instant> = _
Provided Methods§
fn created_at(&self) -> Option<Instant>
fn updated_at(&self) -> Option<Instant>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".