Enum tokio_postgres::types::Kind []

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 PartialEq<Kind> for Kind

impl Eq for Kind

impl Debug for Kind

Formats the value using the given formatter.

impl Clone for Kind