[][src]Struct diesel::pg::data_types::PgTime

pub struct PgTime(pub i64);

Time is represented in Postgres as a 64 bit signed integer representing the number of microseconds since midnight. This struct is a dumb wrapper type, meant only to indicate the integer's meaning.

Trait Implementations

impl Arbitrary for PgTime[src]

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

type Expression = Bound<Nullable<Time>, Self>

The expression being returned

impl AsExpression<Nullable<Time>> for PgTime[src]

type Expression = Bound<Nullable<Time>, Self>

The expression being returned

impl<'expr> AsExpression<Time> for &'expr PgTime[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 Clone for PgTime[src]

impl Copy for PgTime[src]

impl Debug for PgTime[src]

impl Eq for PgTime[src]

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

impl Ord for PgTime[src]

impl PartialEq<PgTime> for PgTime[src]

impl PartialOrd<PgTime> for PgTime[src]

impl<__ST, __DB> Queryable<__ST, __DB> for PgTime where
    __DB: Backend,
    __ST: SingleValue,
    Self: FromSql<__ST, __DB>, 
[src]

type Row = Self

The Rust type you'd like to map from. Read more

impl StructuralEq for PgTime[src]

impl StructuralPartialEq for PgTime[src]

impl<__DB> ToSql<Nullable<Time>, __DB> for PgTime where
    __DB: Backend,
    Self: ToSql<Time, __DB>, 
[src]

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

Auto Trait Implementations

impl RefUnwindSafe for PgTime

impl Send for PgTime

impl Sync for PgTime

impl Unpin for PgTime

impl UnwindSafe for PgTime

Blanket Implementations

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

impl<T, ST> AsExpression<ST> for T where
    ST: SqlType + IntoNotNullable + TypedExpressionType,
    T: Expression,
    <ST as IntoNotNullable>::NotNullable: SingleValue,
    ExpressionImplHelper<T, <ST as SqlType>::IsNull, <<T as Expression>::SqlType as SqlType>::IsNull>: AsExpressionHelper<ST>,
    <T as Expression>::SqlType: SqlType
[src]

type Expression = <ExpressionImplHelper<T, <ST as SqlType>::IsNull, <<T as Expression>::SqlType as SqlType>::IsNull> as AsExpressionHelper<ST>>::Expression

The expression being returned

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, ST, DB> FromSqlRow<ST, DB> for T where
    DB: Backend,
    ST: SqlType,
    T: Queryable<ST, DB>,
    <T as Queryable<ST, DB>>::Row: FromStaticSqlRow<ST, DB>, 
[src]

impl<T, ST, DB> FromStaticSqlRow<ST, DB> for T where
    DB: Backend,
    ST: SingleValue,
    T: FromSql<ST, DB>, 
[src]

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

impl<T> IntoSql for T[src]

impl<T, ST, DB> StaticallySizedRow<ST, DB> for T where
    DB: Backend,
    ST: SqlType + TupleSize,
    T: Queryable<ST, DB>, 
[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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]