pub struct timestamp;
Trait Implementations
sourceimpl<Rhs> Add<Rhs> for timestamp where
Rhs: AsExpression<<<timestamp as Expression>::SqlType as Add>::Rhs>,
impl<Rhs> Add<Rhs> for timestamp where
Rhs: AsExpression<<<timestamp as Expression>::SqlType as Add>::Rhs>,
sourceimpl<Rhs> Div<Rhs> for timestamp where
Rhs: AsExpression<<<timestamp as Expression>::SqlType as Div>::Rhs>,
impl<Rhs> Div<Rhs> for timestamp where
Rhs: AsExpression<<<timestamp as Expression>::SqlType as Div>::Rhs>,
sourceimpl Expression for timestamp
impl Expression for timestamp
type SqlType = Double
type SqlType = Double
The type that this expression represents in SQL
sourceimpl<Rhs> Mul<Rhs> for timestamp where
Rhs: AsExpression<<<timestamp as Expression>::SqlType as Mul>::Rhs>,
impl<Rhs> Mul<Rhs> for timestamp where
Rhs: AsExpression<<<timestamp as Expression>::SqlType as Mul>::Rhs>,
sourceimpl<DB> QueryFragment<DB> for timestamp where
DB: Backend,
<table as QuerySource>::FromClause: QueryFragment<DB>,
impl<DB> QueryFragment<DB> for timestamp where
DB: Backend,
<table as QuerySource>::FromClause: QueryFragment<DB>,
sourcefn walk_ast(&self, out: AstPass<'_, DB>) -> QueryResult<()>
fn walk_ast(&self, out: AstPass<'_, DB>) -> QueryResult<()>
Walk over this QueryFragment
for all passes. Read more
fn to_sql(&self, out: &mut <DB as Backend>::QueryBuilder) -> Result<(), Error>
fn to_sql(&self, out: &mut <DB as Backend>::QueryBuilder) -> Result<(), Error>
Converts this QueryFragment
to its SQL representation. Read more
fn collect_binds(
&self,
out: &mut <DB as Backend>::BindCollector,
metadata_lookup: &<DB as TypeMetadata>::MetadataLookup
) -> Result<(), Error>
fn collect_binds(
&self,
out: &mut <DB as Backend>::BindCollector,
metadata_lookup: &<DB as TypeMetadata>::MetadataLookup
) -> Result<(), Error>
Serializes all bind parameters in this query. Read more
fn is_safe_to_cache_prepared(&self) -> Result<bool, Error>
fn is_safe_to_cache_prepared(&self) -> Result<bool, Error>
Is this query safe to store in the prepared statement cache? Read more
sourceimpl QueryId for timestamp
impl QueryId for timestamp
sourceconst HAS_STATIC_QUERY_ID: bool = true
const HAS_STATIC_QUERY_ID: bool = true
Can the SQL generated by Self
be uniquely identified by its type? Read more
sourceimpl<Rhs> Sub<Rhs> for timestamp where
Rhs: AsExpression<<<timestamp as Expression>::SqlType as Sub>::Rhs>,
impl<Rhs> Sub<Rhs> for timestamp where
Rhs: AsExpression<<<timestamp as Expression>::SqlType as Sub>::Rhs>,
impl<QS> AppearsOnTable<QS> for timestamp where
QS: AppearsInFromClause<table, Count = Once>,
impl Copy for timestamp
impl NonAggregate for timestamp
impl SelectableExpression<table> for timestamp
Auto Trait Implementations
impl RefUnwindSafe for timestamp
impl Send for timestamp
impl Sync for timestamp
impl Unpin for timestamp
impl UnwindSafe for timestamp
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more