Type Alias diesel::sql_types::Macaddr

source ·
pub type Macaddr = MacAddr;
Available on crate feature postgres_backend only.
Expand description

Alias for MacAddr to be able to use it with diesel print-schema.

Aliased Type§

struct Macaddr;

Trait Implementations§

source§

impl Clone for MacAddr

source§

fn clone(&self) -> MacAddr

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 MacAddr

source§

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

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

impl Default for MacAddr

source§

fn default() -> MacAddr

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

impl QueryId for MacAddr

§

type QueryId = MacAddr

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 MacAddr

§

type IsNull = NotNull

Is this type nullable? Read more
source§

impl Copy for MacAddr

source§

impl SingleValue for MacAddr