Struct diesel::mysql::data_types::MysqlTimestampType
source · pub struct MysqlTimestampType(/* private fields */);
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 for MysqlTimestampType
impl PartialEq 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 StructuralPartialEq for MysqlTimestampType
Auto Trait Implementations§
impl Freeze for MysqlTimestampType
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> 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