Struct diesel::mysql::data_types::MysqlTimestampType
source · pub struct MysqlTimestampType(_);
Available on crate feature
mysql_backend
only.Expand description
Rust representation of enum_mysql_timestamp_type
Implementations§
source§impl MysqlTimestampType
impl MysqlTimestampType
sourcepub const MYSQL_TIMESTAMP_NONE: MysqlTimestampType = _
pub const MYSQL_TIMESTAMP_NONE: MysqlTimestampType = _
Rust representation of MYSQL_TIMESTAMP_NONE
sourcepub const MYSQL_TIMESTAMP_ERROR: MysqlTimestampType = _
pub const MYSQL_TIMESTAMP_ERROR: MysqlTimestampType = _
Rust representation of MYSQL_TIMESTAMP_ERROR
sourcepub const MYSQL_TIMESTAMP_DATE: MysqlTimestampType = _
pub const MYSQL_TIMESTAMP_DATE: MysqlTimestampType = _
Rust representation of MYSQL_TIMESTAMP_DATE
sourcepub const MYSQL_TIMESTAMP_DATETIME: MysqlTimestampType = _
pub const MYSQL_TIMESTAMP_DATETIME: MysqlTimestampType = _
Rust representation of MYSQL_TIMESTAMP_DATETIME
sourcepub const MYSQL_TIMESTAMP_TIME: MysqlTimestampType = _
pub const MYSQL_TIMESTAMP_TIME: MysqlTimestampType = _
Rust representation of MYSQL_TIMESTAMP_TIME
sourcepub const MYSQL_TIMESTAMP_DATETIME_TZ: MysqlTimestampType = _
pub const MYSQL_TIMESTAMP_DATETIME_TZ: MysqlTimestampType = _
Rust representation of MYSQL_TIMESTAMP_DATETIME_TZ
Trait Implementations§
source§impl Clone for MysqlTimestampType
impl Clone for MysqlTimestampType
source§fn clone(&self) -> MysqlTimestampType
fn clone(&self) -> MysqlTimestampType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for MysqlTimestampType
impl Debug for MysqlTimestampType
source§impl PartialEq<MysqlTimestampType> for MysqlTimestampType
impl PartialEq<MysqlTimestampType> for MysqlTimestampType
source§fn eq(&self, other: &MysqlTimestampType) -> bool
fn eq(&self, other: &MysqlTimestampType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for MysqlTimestampType
impl Eq for MysqlTimestampType
impl StructuralEq for MysqlTimestampType
impl StructuralPartialEq for MysqlTimestampType
Auto Trait Implementations§
impl RefUnwindSafe for MysqlTimestampType
impl Send for MysqlTimestampType
impl Sync for MysqlTimestampType
impl Unpin for MysqlTimestampType
impl UnwindSafe for MysqlTimestampType
Blanket Implementations§
source§impl<T> IntoSql for T
impl<T> IntoSql for T
source§fn into_sql<T>(self) -> AsExprOf<Self, T>where
Self: AsExpression<T> + Sized,
T: SqlType + TypedExpressionType,
fn into_sql<T>(self) -> AsExprOf<Self, T>where Self: AsExpression<T> + Sized, T: SqlType + TypedExpressionType,
Convert
self
to an expression for Diesel’s query builder. Read moresource§fn as_sql<'a, T>(&'a self) -> AsExprOf<&'a Self, T>where
&'a Self: AsExpression<T>,
T: SqlType + TypedExpressionType,
fn as_sql<'a, T>(&'a self) -> AsExprOf<&'a Self, T>where &'a Self: AsExpression<T>, T: SqlType + TypedExpressionType,
Convert
&self
to an expression for Diesel’s query builder. Read more