Enum postgres::types::Kind [] [src]

pub enum Kind {
    Simple,
    Enum(Vec<String>),
    Pseudo,
    Array(Type),
    Range(Type),
    Domain(Type),
    Composite(Vec<Field>),
    // some variants omitted
}

Represents the kind of a Postgres type.

Variants

Simple

A simple type like VARCHAR or INTEGER.

Enum

An enumerated type along with its variants.

Pseudo

A pseudo-type.

Array

An array type along with the type of its elements.

Range

A range type along with the type of its elements.

Domain

A domain type along with its underlying type.

Composite

A composite type along with information about its fields.

Trait Implementations

Derived Implementations

impl Eq for Kind
[src]

impl PartialEq for Kind
[src]

fn eq(&self, __arg_0: &Kind) -> bool

fn ne(&self, __arg_0: &Kind) -> bool

impl Clone for Kind
[src]

fn clone(&self) -> Kind

fn clone_from(&mut self, source: &Self)
1.0.0

impl Debug for Kind
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result