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
Simple
A simple type like VARCHAR
or INTEGER
.
Enum(Vec<String>)
An enumerated type along with its variants.
Pseudo
A pseudo-type.
Array(Type)
An array type along with the type of its elements.
Range(Type)
A range type along with the type of its elements.
Domain(Type)
A domain type along with its underlying type.
Composite(Vec<Field>)
A composite type along with information about its fields.