Struct diesel::mysql::types::Datetime[][src]

pub struct Datetime;

Represents the MySQL datetime type.

ToSql impls

FromSql impls

Trait Implementations

impl<'expr> AsExpression<Datetime> for &'expr NaiveDateTime[src]

type Expression = Bound<Datetime, Self>

The expression being returned

impl<'expr2, 'expr> AsExpression<Datetime> for &'expr2 &'expr NaiveDateTime[src]

type Expression = Bound<Datetime, Self>

The expression being returned

impl AsExpression<Datetime> for NaiveDateTime[src]

type Expression = Bound<Datetime, Self>

The expression being returned

impl Clone for Datetime[src]

impl Copy for Datetime[src]

impl Debug for Datetime[src]

impl Default for Datetime[src]

impl FromSql<Datetime, Mysql> for MYSQL_TIME[src]

impl FromSql<Datetime, Mysql> for NaiveDateTime[src]

impl HasSqlType<Datetime> for Mysql[src]

impl NotNull for Datetime[src]

impl QueryId for Datetime[src]

type QueryId = Datetime

A type which uniquely represents Self in a SQL query. Read more

impl SingleValue for Datetime[src]

impl ToSql<Datetime, Mysql> for MYSQL_TIME[src]

impl ToSql<Datetime, Mysql> for NaiveDateTime[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoNullable for T where
    T: NotNull
[src]

type Nullable = Nullable<T>

The nullable representation of this type. Read more

impl<T> IntoSql for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.