diesel::types

Type Alias Time

Source
pub type Time = Time;
👎Deprecated since 1.1.0: Use sql_types::Time instead

Aliased Type§

struct Time;

Trait Implementations

Source§

impl Add for Time

Source§

type Rhs = Interval

The SQL type which can be added to this one
Source§

type Output = Time

The SQL type of the result of adding Rhs to Self
Source§

impl Clone for Time

Source§

fn clone(&self) -> Time

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Time

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for Time

Source§

fn default() -> Time

Returns the “default value” for a type. Read more
Source§

impl QueryId for Time

Source§

const HAS_STATIC_QUERY_ID: bool = true

Can the SQL generated by Self be uniquely identified by its type? Read more
Source§

type QueryId = Time

A type which uniquely represents Self in a SQL query. Read more
Source§

fn query_id() -> Option<TypeId>

Returns the type id of Self::QueryId if Self::HAS_STATIC_QUERY_ID. Returns None otherwise. Read more
Source§

impl Sub for Time

Source§

type Rhs = Interval

The SQL type which can be subtracted from this one
Source§

type Output = Time

The SQL type of the result of subtracting Rhs from Self
Source§

impl Copy for Time

Source§

impl NotNull for Time

Source§

impl SingleValue for Time

Source§

impl SqlOrd for Time