Enum tokio_postgres::types::Kind [−][src]
#[non_exhaustive]
pub enum Kind {
Simple,
Enum(Vec<String, Global>),
Pseudo,
Array(Type),
Range(Type),
Domain(Type),
Composite(Vec<Field, Global>),
}Represents the kind of a Postgres type.
Variants (Non-exhaustive)
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
A simple type like VARCHAR or INTEGER.
An enumerated type along with its variants.
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.
A composite type along with information about its fields.
Trait Implementations
impl StructuralEq for Kind[src]
impl StructuralEq for Kind[src]impl StructuralPartialEq for Kind[src]
impl StructuralPartialEq for Kind[src]Auto Trait Implementations
impl RefUnwindSafe for Kind
impl RefUnwindSafe for Kindimpl UnwindSafe for Kind
impl UnwindSafe for Kind