pub struct Interval;Expand description
interval: a time span.
Trait Implementations§
impl Assignable for Interval
impl Assignable<Interval> for Any
impl Compatible for Interval
impl Compatible<Any> for Interval
impl Compatible<Interval> for Any
impl Compatible<Placeholder> for Interval
impl Copy for Interval
impl DataType for Interval
Source§impl DefaultCastTypeName for Interval
impl DefaultCastTypeName for Interval
Source§const CAST_TYPE_NAME: &'static str = "INTERVAL"
const CAST_TYPE_NAME: &'static str = "INTERVAL"
The type name used in
CAST(expr AS <name>).impl Eq for Interval
Source§impl SQLTypeToRust<PostgresDialect> for Interval
Available on non-crate feature chrono only.
impl SQLTypeToRust<PostgresDialect> for Interval
Available on non-crate feature
chrono only.impl StructuralPartialEq for Interval
impl Temporal for Interval
Auto Trait Implementations§
impl Freeze for Interval
impl RefUnwindSafe for Interval
impl Send for Interval
impl Sync for Interval
impl Unpin for Interval
impl UnsafeUnpin for Interval
impl UnwindSafe for Interval
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<'a, T, D> CastTarget<'a, T, D> for Twhere
T: DataType + DefaultCastTypeName,
impl<'a, T, D> CastTarget<'a, T, D> for Twhere
T: DataType + DefaultCastTypeName,
Source§fn cast_type_name(self) -> &'a str
fn cast_type_name(self) -> &'a str
The SQL type name to cast to.