Enum tokio_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

A simple type like VARCHAR or INTEGER.

An enumerated type along with its variants.

A pseudo-type.

An array type along with the type of its elements.

A range type along with the type of its elements.

A domain type along with its underlying type.

A composite type along with information about its fields.

Trait Implementations

impl Eq for Kind
[src]

impl PartialEq<Kind> for Kind
[src]

impl Debug for Kind
[src]

Formats the value using the given formatter.

impl Clone for Kind
[src]