Type Alias diesel::sql_types::Bytea

source ·
pub type Bytea = Binary;
Available on crate feature postgres_backend only.
Expand description

Alias for Binary, to ensure diesel print-schema works

Aliased Type§

struct Bytea;

Trait Implementations§

source§

impl Clone for Binary

source§

fn clone(&self) -> Binary

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 Binary

source§

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

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

impl Default for Binary

source§

fn default() -> Binary

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

impl QueryId for Binary

§

type QueryId = Binary

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 Binary

§

type IsNull = NotNull

Is this type nullable? Read more
source§

impl Copy for Binary

source§

impl SingleValue for Binary