Struct diesel::types::Time
[−]
[src]
pub struct Time;
The time SQL type.
This type is currently only implemented for PostgreSQL and SQLite.
ToSql
impls
chrono::NaiveTime
withfeature = "chrono"
FromSql
impls
chrono::NaiveTime
withfeature = "chrono"
Trait Implementations
impl Add for Time
[src]
type 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]
type 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 QueryId for Time
[src]
impl NotNull for Time
[src]
impl SingleValue for Time
[src]
impl Debug for Time
[src]
impl Clone for Time
[src]
fn clone(&self) -> Time
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more