Struct rust_query::value::UnixEpoch
source · 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> Value<'t> for UnixEpoch
impl<'t> Value<'t> for UnixEpoch
type Typ = i64
fn add<T: Value<'t>>(self, rhs: T) -> MyAdd<Self, T>
fn lt(self, rhs: i32) -> MyLt<Self>
fn eq<T: Value<'t, Typ = Self::Typ>>(self, rhs: T) -> MyEq<Self, T>
fn unwrap_or<T: Value<'t>>(self, rhs: T) -> UnwrapOr<Self, T>
fn is_not_null(self) -> IsNotNull<Self>
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