Type Alias diesel::sql_types::Bpchar

source ·
pub type Bpchar = VarChar;
Available on crate feature postgres_backend only.

Aliased Type§

struct Bpchar;

Trait Implementations§

source§

impl Clone for Text

source§

fn clone(&self) -> Text

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 Text

source§

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

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

impl Default for Text

source§

fn default() -> Text

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

impl QueryId for Text

§

type QueryId = Text

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

const HAS_STATIC_QUERY_ID: bool = true

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 SqlType for Text

§

type IsNull = NotNull

Is this type nullable? Read more
source§

impl Copy for Text

source§

impl SingleValue for Text

source§

impl SqlOrd for Text