diesel::types

Type Alias MacAddr

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

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

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 = MacAddr

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 Copy for MacAddr

Source§

impl NotNull for MacAddr

Source§

impl SingleValue for MacAddr