[−][src]Struct diesel::sql_types::Time
The time SQL type.
ToSql
impls
chrono::NaiveTime
withfeature = "chrono"
FromSql
impls
chrono::NaiveTime
withfeature = "chrono"
Trait Implementations
impl FromSql<Time, Mysql> for MYSQL_TIME
[src]
impl FromSql<Time, Mysql> for MYSQL_TIME
impl FromSql<Time, Mysql> for NaiveTime
[src]
impl FromSql<Time, Mysql> for NaiveTime
impl FromSql<Time, Pg> for NaiveTime
[src]
impl FromSql<Time, Pg> for NaiveTime
impl FromSql<Time, Pg> for PgTime
[src]
impl FromSql<Time, Pg> for PgTime
impl FromSql<Time, Sqlite> for NaiveTime
[src]
impl FromSql<Time, Sqlite> for NaiveTime
impl FromSql<Time, Sqlite> for *const str
[src]
impl FromSql<Time, Sqlite> for *const str
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<'expr> AsExpression<Time> for &'expr PgTime
[src]
impl<'expr> AsExpression<Time> for &'expr PgTime
type Expression = Bound<Time, Self>
The expression being returned
fn as_expression(self) -> Self::Expression | [src] |
impl<'expr2, 'expr> AsExpression<Time> for &'expr2 &'expr PgTime
[src]
impl<'expr2, 'expr> AsExpression<Time> for &'expr2 &'expr PgTime
type Expression = Bound<Time, Self>
The expression being returned
fn as_expression(self) -> Self::Expression | [src] |
impl AsExpression<Time> for PgTime
[src]
impl AsExpression<Time> for PgTime
type Expression = Bound<Time, Self>
The expression being returned
fn as_expression(self) -> Self::Expression | [src] |
impl<'expr> AsExpression<Time> for &'expr NaiveTime
[src]
impl<'expr> AsExpression<Time> for &'expr NaiveTime
type Expression = Bound<Time, Self>
The expression being returned
fn as_expression(self) -> Self::Expression | [src] |
impl<'expr2, 'expr> AsExpression<Time> for &'expr2 &'expr NaiveTime
[src]
impl<'expr2, 'expr> AsExpression<Time> for &'expr2 &'expr NaiveTime
type Expression = Bound<Time, Self>
The expression being returned
fn as_expression(self) -> Self::Expression | [src] |
impl AsExpression<Time> for NaiveTime
[src]
impl AsExpression<Time> for NaiveTime
type Expression = Bound<Time, Self>
The expression being returned
fn as_expression(self) -> Self::Expression | [src] |
impl<'expr> AsExpression<Time> for &'expr String
[src]
impl<'expr> AsExpression<Time> for &'expr String
type Expression = Bound<Time, Self>
The expression being returned
fn as_expression(self) -> Self::Expression | [src] |
impl<'expr2, 'expr> AsExpression<Time> for &'expr2 &'expr String
[src]
impl<'expr2, 'expr> AsExpression<Time> for &'expr2 &'expr String
type Expression = Bound<Time, Self>
The expression being returned
fn as_expression(self) -> Self::Expression | [src] |
impl AsExpression<Time> for String
[src]
impl AsExpression<Time> for String
type Expression = Bound<Time, Self>
The expression being returned
fn as_expression(self) -> Self::Expression | [src] |
impl<'expr> AsExpression<Time> for &'expr str
[src]
impl<'expr> AsExpression<Time> for &'expr str
type Expression = Bound<Time, Self>
The expression being returned
fn as_expression(self) -> Self::Expression | [src] |
impl<'expr2, 'expr> AsExpression<Time> for &'expr2 &'expr str
[src]
impl<'expr2, 'expr> AsExpression<Time> for &'expr2 &'expr str
type Expression = Bound<Time, Self>
The expression being returned
fn as_expression(self) -> Self::Expression | [src] |
impl QueryId for Time
[src]
impl QueryId for Time
type QueryId = Time
A type which uniquely represents Self
in a SQL query. Read more
const HAS_STATIC_QUERY_ID: bool
[src]
fn query_id() -> Option<TypeId> | [src] |
Returns the type id of Self::QueryId
if Self::HAS_STATIC_QUERY_ID
. Returns None
otherwise. Read more
impl ToSql<Time, Mysql> for MYSQL_TIME
[src]
impl ToSql<Time, Mysql> for MYSQL_TIME
impl ToSql<Time, Mysql> for NaiveTime
[src]
impl ToSql<Time, Mysql> for NaiveTime
impl ToSql<Time, Pg> for NaiveTime
[src]
impl ToSql<Time, Pg> for NaiveTime
impl ToSql<Time, Pg> for PgTime
[src]
impl ToSql<Time, Pg> for PgTime
impl ToSql<Time, Sqlite> for NaiveTime
[src]
impl ToSql<Time, Sqlite> for NaiveTime
impl ToSql<Time, Sqlite> for str
[src]
impl ToSql<Time, Sqlite> for str
impl ToSql<Time, Sqlite> for String
[src]
impl ToSql<Time, Sqlite> for String
impl Add for Time
[src]
impl Add for Time
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 Sub for Time
[src]
impl Sub for Time
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 SqlOrd for Time
[src]
impl SqlOrd for Time
impl HasSqlType<Time> for Sqlite
[src]
impl HasSqlType<Time> for Sqlite
fn metadata(_: &()) -> SqliteType | [src] |
impl HasSqlType<Time> for Mysql
[src]
impl HasSqlType<Time> for Mysql
impl HasSqlType<Time> for Pg
[src]
impl HasSqlType<Time> for Pg
fn metadata(_: &PgMetadataLookup) -> PgTypeMetadata | [src] |
impl NotNull for Time
[src]
impl NotNull for Time
impl SingleValue for Time
[src]
impl SingleValue for Time
impl Copy for Time
[src]
impl Copy for Time
impl Clone for Time
[src]
impl Clone for Time
fn clone(&self) -> Time | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
Performs copy-assignment from source
. Read more
impl Default for Time
[src]
impl Default for Time
impl Debug for Time
[src]
impl Debug for Time
Auto Trait Implementations
Blanket Implementations
impl<T> IntoSql for T
[src]
impl<T> IntoSql for T
fn into_sql<T>(self) -> AsExprOf<Self, T> where | [src] |
Convert self
to an expression for Diesel's query builder. Read more
fn as_sql<'a, T>(&'a self) -> AsExprOf<&'a Self, T> where | [src] |
Convert &self
to an expression for Diesel's query builder. Read more
impl<T> IntoNullable for T where
T: NotNull,
[src]
impl<T> IntoNullable for T where
T: NotNull,
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error> | [src] |
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId | [src] |
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T | [src] |
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,