[][src]Struct diesel::sql_types::Time

pub struct Time;

The time SQL type.

ToSql impls

FromSql impls

Trait Implementations

impl Add for Time[src]

type Rhs = Interval

The SQL type which can be added to this one

type Output = Time

The SQL type of the result of adding Rhs to Self

impl<'expr> AsExpression<Time> for &'expr PgTime[src]

type Expression = Bound<Time, Self>

The expression being returned

impl<'expr2, 'expr> AsExpression<Time> for &'expr2 &'expr PgTime[src]

type Expression = Bound<Time, Self>

The expression being returned

impl<'expr2, 'expr> AsExpression<Time> for &'expr2 &'expr str[src]

type Expression = Bound<Time, Self>

The expression being returned

impl AsExpression<Time> for PgTime[src]

type Expression = Bound<Time, Self>

The expression being returned

impl<'expr> AsExpression<Time> for &'expr NaiveTime[src]

type Expression = Bound<Time, Self>

The expression being returned

impl<'expr2, 'expr> AsExpression<Time> for &'expr2 &'expr NaiveTime[src]

type Expression = Bound<Time, Self>

The expression being returned

impl AsExpression<Time> for NaiveTime[src]

type Expression = Bound<Time, Self>

The expression being returned

impl<'expr> AsExpression<Time> for &'expr String[src]

type Expression = Bound<Time, Self>

The expression being returned

impl<'expr2, 'expr> AsExpression<Time> for &'expr2 &'expr String[src]

type Expression = Bound<Time, Self>

The expression being returned

impl AsExpression<Time> for String[src]

type Expression = Bound<Time, Self>

The expression being returned

impl<'expr> AsExpression<Time> for &'expr str[src]

type Expression = Bound<Time, Self>

The expression being returned

impl Clone for Time[src]

impl Copy for Time[src]

impl Debug for Time[src]

impl Default for Time[src]

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

impl FromSql<Time, Mysql> for NaiveTime[src]

impl FromSql<Time, Pg> for NaiveTime[src]

impl FromSql<Time, Pg> for PgTime[src]

impl FromSql<Time, Sqlite> for NaiveTime[src]

impl FromSql<Time, Sqlite> for *const str[src]

The returned pointer is only valid for the lifetime to the argument of from_sql. This impl is intended for uses where you want to write a new impl in terms of String, but don't want to allocate. We have to return a raw pointer instead of a reference with a lifetime due to the structure of FromSql

impl HasSqlType<Time> for Sqlite[src]

impl HasSqlType<Time> for Mysql[src]

impl HasSqlType<Time> for Pg[src]

impl NotNull for Time[src]

impl QueryId for Time[src]

type QueryId = Time

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

impl SingleValue for Time[src]

impl SqlOrd for Time[src]

impl Sub for Time[src]

type Rhs = Interval

The SQL type which can be subtracted from this one

type Output = Time

The SQL type of the result of subtracting Rhs from Self

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

impl ToSql<Time, Mysql> for NaiveTime[src]

impl ToSql<Time, Pg> for NaiveTime[src]

impl ToSql<Time, Pg> for PgTime[src]

impl ToSql<Time, Sqlite> for NaiveTime[src]

impl ToSql<Time, Sqlite> for str[src]

impl ToSql<Time, Sqlite> for String[src]

Auto Trait Implementations

impl RefUnwindSafe for Time

impl Send for Time

impl Sync for Time

impl Unpin for Time

impl UnwindSafe for Time

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.