Type Alias diesel::sql_types::Serial

source ·
pub type Serial = Integer;
Expand description

Alias for Integer

Aliased Type§

struct Serial;

Trait Implementations§

source§

impl Add for Integer

§

type Rhs = Integer

The SQL type which can be added to this one
§

type Output = Integer

The SQL type of the result of adding Rhs to Self
source§

impl Clone for Integer

source§

fn clone(&self) -> Integer

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 Integer

source§

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

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

impl Default for Integer

source§

fn default() -> Integer

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

impl Div for Integer

§

type Rhs = Integer

The SQL type which this one can be divided by
§

type Output = Integer

The SQL type of the result of dividing Self by Rhs
source§

impl Foldable for Integer

§

type Sum = Nullable<BigInt>

The SQL type of sum(this_type)
§

type Avg = Nullable<Numeric>

The SQL type of avg(this_type)
source§

impl Mul for Integer

§

type Rhs = Integer

The SQL type which this can be multiplied by
§

type Output = Integer

The SQL type of the result of multiplying Self by Rhs
source§

impl QueryId for Integer

§

type QueryId = Integer

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 Integer

§

type IsNull = NotNull

Is this type nullable? Read more
source§

impl Sub for Integer

§

type Rhs = Integer

The SQL type which can be subtracted from this one
§

type Output = Integer

The SQL type of the result of subtracting Rhs from Self
source§

impl Copy for Integer

source§

impl SingleValue for Integer

source§

impl SqlOrd for Integer