Enum postgres_shared::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 Debug for Kind
[src]

Formats the value using the given formatter.

impl Clone for Kind
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Kind
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Kind
[src]