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