pub trait TimestampRelativeExt: Sized + Expression<Type = Timestamp> {
// Provided methods
fn past(self) -> Binary<Lt, Self, Now> { ... }
fn future(self) -> Binary<Gt, Self, Now> { ... }
fn today(self) -> Binary<Eq, DateExtract<Self>, CurrentDate> { ... }
fn before_today(self) -> Binary<Lt, DateExtract<Self>, CurrentDate> { ... }
fn after_today(self) -> Binary<Gt, DateExtract<Self>, CurrentDate> { ... }
}Provided Methods§
fn past(self) -> Binary<Lt, Self, Now>
fn future(self) -> Binary<Gt, Self, Now>
fn today(self) -> Binary<Eq, DateExtract<Self>, CurrentDate>
fn before_today(self) -> Binary<Lt, DateExtract<Self>, CurrentDate>
fn after_today(self) -> Binary<Gt, DateExtract<Self>, CurrentDate>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".