[−][src]Struct diesel::sql_types::Time
The time SQL type.
ToSql impls
chrono::NaiveTimewithfeature = "chrono"
FromSql impls
chrono::NaiveTimewithfeature = "chrono"
Trait Implementations
impl FromSql<Time, Sqlite> for NaiveTime[src]
impl FromSql<Time, Sqlite> for NaiveTimeimpl FromSql<Time, Sqlite> for *const str[src]
impl FromSql<Time, Sqlite> for *const strThe 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 NaiveTime[src]
impl<'expr> AsExpression<Time> for &'expr NaiveTimetype Expression = Bound<Time, Self>
The expression being returned
fn as_expression(self) -> Self::Expression[src]
fn as_expression(self) -> Self::Expressionimpl<'expr2, 'expr> AsExpression<Time> for &'expr2 &'expr NaiveTime[src]
impl<'expr2, 'expr> AsExpression<Time> for &'expr2 &'expr NaiveTimetype Expression = Bound<Time, Self>
The expression being returned
fn as_expression(self) -> Self::Expression[src]
fn as_expression(self) -> Self::Expressionimpl AsExpression<Time> for NaiveTime[src]
impl AsExpression<Time> for NaiveTimetype Expression = Bound<Time, Self>
The expression being returned
fn as_expression(self) -> Self::Expression[src]
fn as_expression(self) -> Self::Expressionimpl<'expr> AsExpression<Time> for &'expr String[src]
impl<'expr> AsExpression<Time> for &'expr Stringtype Expression = Bound<Time, Self>
The expression being returned
fn as_expression(self) -> Self::Expression[src]
fn as_expression(self) -> Self::Expressionimpl<'expr2, 'expr> AsExpression<Time> for &'expr2 &'expr String[src]
impl<'expr2, 'expr> AsExpression<Time> for &'expr2 &'expr Stringtype Expression = Bound<Time, Self>
The expression being returned
fn as_expression(self) -> Self::Expression[src]
fn as_expression(self) -> Self::Expressionimpl AsExpression<Time> for String[src]
impl AsExpression<Time> for Stringtype Expression = Bound<Time, Self>
The expression being returned
fn as_expression(self) -> Self::Expression[src]
fn as_expression(self) -> Self::Expressionimpl<'expr> AsExpression<Time> for &'expr str[src]
impl<'expr> AsExpression<Time> for &'expr strtype Expression = Bound<Time, Self>
The expression being returned
fn as_expression(self) -> Self::Expression[src]
fn as_expression(self) -> Self::Expressionimpl<'expr2, 'expr> AsExpression<Time> for &'expr2 &'expr str[src]
impl<'expr2, 'expr> AsExpression<Time> for &'expr2 &'expr strtype Expression = Bound<Time, Self>
The expression being returned
fn as_expression(self) -> Self::Expression[src]
fn as_expression(self) -> Self::Expressionimpl QueryId for Time[src]
impl QueryId for Timetype 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]
fn query_id() -> Option<TypeId>Returns the type id of Self::QueryId if Self::HAS_STATIC_QUERY_ID. Returns None otherwise. Read more
impl ToSql<Time, Sqlite> for NaiveTime[src]
impl ToSql<Time, Sqlite> for NaiveTimeimpl ToSql<Time, Sqlite> for str[src]
impl ToSql<Time, Sqlite> for strimpl ToSql<Time, Sqlite> for String[src]
impl ToSql<Time, Sqlite> for Stringimpl Add for Time[src]
impl Add for Timetype 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 Timetype 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 Timeimpl HasSqlType<Time> for Sqlite[src]
impl HasSqlType<Time> for Sqlitefn metadata(_: &()) -> SqliteType[src]
fn metadata(_: &()) -> SqliteTypeimpl NotNull for Time[src]
impl NotNull for Timeimpl SingleValue for Time[src]
impl SingleValue for Timeimpl Default for Time[src]
impl Default for Timeimpl Clone for Time[src]
impl Clone for Timefn clone(&self) -> Time[src]
fn clone(&self) -> Timefn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl Copy for Time[src]
impl Copy for Timeimpl Debug for Time[src]
impl Debug for TimeAuto Trait Implementations
Blanket Implementations
impl<T> IntoSql for T[src]
impl<T> IntoSql for Tfn into_sql<T>(self) -> AsExprOf<Self, T> where
Self: AsExpression<T> + Sized, [src]
fn into_sql<T>(self) -> AsExprOf<Self, T> where
Self: AsExpression<T> + Sized, Convert self to an expression for Diesel's query builder. Read more
fn as_sql<'a, T>(&'a self) -> AsExprOf<&'a Self, T> where
&'a Self: AsExpression<T>, [src]
fn as_sql<'a, T>(&'a self) -> AsExprOf<&'a Self, T> where
&'a Self: AsExpression<T>, 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 Timpl<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]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>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]
fn get_type_id(&self) -> TypeIdimpl<T, U> TryInto for T where
U: TryFrom<T>, [src]
impl<T, U> TryInto for T where
U: TryFrom<T>, type Error = <U as TryFrom<T>>::Error
try_from)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>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]
fn borrow_mut(&mut self) -> &mut T