Struct diesel::types::Time
[−]
[src]
pub struct Time;
The time SQL type.
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]
type QueryId = Self
A type which uniquely represents Self
in a SQL query. Read more
const HAS_STATIC_QUERY_ID: bool
HAS_STATIC_QUERY_ID: bool = true
Can the SQL generated by Self
be uniquely identified by its type? Read more
fn query_id() -> Option<TypeId>
[src]
Returns the type id of Self::QueryId
if Self::HAS_STATIC_QUERY_ID
. Returns None
otherwise. Read more
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