pub struct UnixEpoch;
Expand description
Use this a value in a query to get the current datetime as a number.
Trait Implementations§
Source§impl<'t, S> IntoColumn<'t, S> for UnixEpoch
impl<'t, S> IntoColumn<'t, S> for UnixEpoch
Source§fn into_column(self) -> Column<'t, S, Self::Typ>
fn into_column(self) -> Column<'t, S, Self::Typ>
Turn this value into a Column.
impl Copy for UnixEpoch
Auto Trait Implementations§
impl Freeze for UnixEpoch
impl RefUnwindSafe for UnixEpoch
impl Send for UnixEpoch
impl Sync for UnixEpoch
impl Unpin for UnixEpoch
impl UnwindSafe for UnixEpoch
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)