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