Struct diesel::types::Timestamp
[−]
[src]
pub struct Timestamp;
The timestamp/datetime SQL type.
This type is currently only implemented for PostgreSQL.
ToSql
impls
std::time::SystemTime
chrono::NaiveDateTime
withfeature = "chrono"
FromSql
impls
std::time::SystemTime
chrono::NaiveDateTime
withfeature = "chrono"
Trait Implementations
impl Add for Timestamp
[src]
impl Sub for Timestamp
[src]
impl SqlOrd for Timestamp
[src]
impl QueryId for Timestamp
[src]
impl NotNull for Timestamp
[src]
impl Default for Timestamp
[src]
impl Copy for Timestamp
[src]
impl Clone for Timestamp
[src]
fn clone(&self) -> Timestamp
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more