Type Alias diesel::sql_types::Tstzrange

source ·
pub type Tstzrange = Range<Timestamptz>;

Aliased Type§

struct Tstzrange(/* private fields */);

Trait Implementations

source§

impl<ST: Clone + 'static> Clone for Range<ST>

source§

fn clone(&self) -> Range<ST>

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<ST: Debug + 'static> Debug for Range<ST>

source§

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

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

impl<ST: Default + 'static> Default for Range<ST>

source§

fn default() -> Range<ST>

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

impl<ST: 'static + QueryId> QueryId for Range<ST>

§

type QueryId = Range<<ST as QueryId>::QueryId>

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

const HAS_STATIC_QUERY_ID: bool = _

Can the SQL generated by Self be uniquely identified by its type? 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<ST: 'static> SqlType for Range<ST>

§

type IsNull = NotNull

Is this type nullable? Read more
source§

impl<ST: Copy + 'static> Copy for Range<ST>

source§

impl<ST: 'static> SingleValue for Range<ST>