[][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<'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<__ST, __DB> FromSqlRow<__ST, __DB> for PgTime where
    __DB: Backend,
    Self: FromSql<__ST, __DB>, 
[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,
    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> 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> 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.