Struct diesel::sql_types::Timestamp [−][src]
pub struct Timestamp;
Expand description
The timestamp SQL type.
ToSql
impls
std::time::SystemTime
(PG only)chrono::NaiveDateTime
withfeature = "chrono"
time::Timespec
withfeature = "deprecated-time"
(PG only)
FromSql
impls
std::time::SystemTime
(PG only)chrono::NaiveDateTime
withfeature = "chrono"
time::Timespec
withfeature = "deprecated-time"
(PG only)
Trait Implementations
type Expression = Bound<Timestamp, Self>
type Expression = Bound<Timestamp, Self>
The expression being returned
Perform the conversion
type Expression = Bound<Timestamp, Self>
type Expression = Bound<Timestamp, Self>
The expression being returned
Perform the conversion
type Expression = Bound<Timestamp, Self>
type Expression = Bound<Timestamp, Self>
The expression being returned
Perform the conversion
type Expression = Bound<Timestamp, Self>
type Expression = Bound<Timestamp, Self>
The expression being returned
Perform the conversion
type Expression = Bound<Timestamp, Self>
type Expression = Bound<Timestamp, Self>
The expression being returned
Perform the conversion
type Expression = Bound<Timestamp, Self>
type Expression = Bound<Timestamp, Self>
The expression being returned
Perform the conversion
type Expression = Bound<Timestamp, Self>
type Expression = Bound<Timestamp, Self>
The expression being returned
Perform the conversion
type Expression = Bound<Timestamp, Self>
type Expression = Bound<Timestamp, Self>
The expression being returned
Perform the conversion
type Expression = Bound<Timestamp, Self>
type Expression = Bound<Timestamp, Self>
The expression being returned
Perform the conversion
type Expression = Bound<Timestamp, Self>
type Expression = Bound<Timestamp, Self>
The expression being returned
Perform the conversion
type Expression = Bound<Timestamp, Self>
type Expression = Bound<Timestamp, Self>
The expression being returned
Perform the conversion
type Expression = Bound<Timestamp, Self>
type Expression = Bound<Timestamp, Self>
The expression being returned
Perform the conversion
type Expression = Bound<Timestamp, Self>
type Expression = Bound<Timestamp, Self>
The expression being returned
Perform the conversion
type Expression = Bound<Timestamp, Self>
type Expression = Bound<Timestamp, Self>
The expression being returned
Perform the conversion
type Expression = Bound<Timestamp, Self>
type Expression = Bound<Timestamp, Self>
The expression being returned
Perform the conversion
type Expression = Bound<Timestamp, Self>
type Expression = Bound<Timestamp, Self>
The expression being returned
Perform the conversion
type Expression = Bound<Timestamp, Self>
type Expression = Bound<Timestamp, Self>
The expression being returned
Perform the conversion
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
Fetch the metadata for the given type Read more
Fetch the metadata for the given type Read more
Can the SQL generated by Self
be uniquely identified by its type? Read more
Auto Trait Implementations
impl RefUnwindSafe for Timestamp
impl UnwindSafe for Timestamp
Blanket Implementations
Mutably borrows from an owned value. Read more
Convert self
to an expression for Diesel’s query builder. Read more