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

pub struct Time;

The time SQL type.

ToSql impls

FromSql impls

Trait Implementations

impl Add for Time
[src]

The SQL type which can be added to this one

The SQL type of the result of adding Rhs to Self

impl Sub for Time
[src]

The SQL type which can be subtracted from this one

The SQL type of the result of subtracting Rhs from Self

impl SqlOrd for Time
[src]

impl QueryId for Time
[src]

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

HAS_STATIC_QUERY_ID: bool = true

Can the SQL generated by Self be uniquely identified by its type? Read more

[src]

Returns the type id of Self::QueryId if Self::HAS_STATIC_QUERY_ID. Returns None otherwise. Read more

impl NotNull for Time
[src]

impl SingleValue for Time
[src]

impl HasSqlType<Time> for Sqlite
[src]

[src]

Fetch the metadata for the given type Read more

[src]

Fetch the metadata for a tuple representing an entire row Read more

impl HasSqlType<Time> for Mysql
[src]

[src]

Fetch the metadata for the given type Read more

[src]

Fetch the metadata for a tuple representing an entire row Read more

impl HasSqlType<Time> for Pg
[src]

[src]

Fetch the metadata for the given type Read more

[src]

Fetch the metadata for a tuple representing an entire row Read more

impl Debug for Time
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for Time
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Time
[src]

impl Default for Time
[src]

[src]

Returns the "default value" for a type. Read more

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

[src]

See the trait documentation.

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

[src]

See the trait documentation.

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

[src]

See the trait documentation.

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

[src]

See the trait documentation.

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

[src]

See the trait documentation.

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

[src]

See the trait documentation.

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

The expression being returned

[src]

Perform the conversion

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

The expression being returned

[src]

Perform the conversion

impl AsExpression<Time> for PgTime
[src]

The expression being returned

[src]

Perform the conversion

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

[src]

See the trait documentation.

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

[src]

See the trait documentation.

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

[src]

See the trait documentation.

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

[src]

See the trait documentation.

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

[src]

See the trait documentation.

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

[src]

See the trait documentation.

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

[src]

See the trait documentation.

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

The expression being returned

[src]

Perform the conversion

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

The expression being returned

[src]

Perform the conversion

impl AsExpression<Time> for NaiveTime
[src]

The expression being returned

[src]

Perform the conversion

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

The expression being returned

[src]

Perform the conversion

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

The expression being returned

[src]

Perform the conversion

impl AsExpression<Time> for String
[src]

The expression being returned

[src]

Perform the conversion

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

The expression being returned

[src]

Perform the conversion

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

The expression being returned

[src]

Perform the conversion

Auto Trait Implementations

impl Send for Time

impl Sync for Time