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
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.
Trait Implementations
impl Debug for Kind
[src]
impl Debug for Kind
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for Kind
[src]
impl Clone for Kind
fn clone(&self) -> Kind
[src]
fn clone(&self) -> Kind
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for Kind
[src]
impl PartialEq for Kind
fn eq(&self, other: &Kind) -> bool
[src]
fn eq(&self, other: &Kind) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Kind) -> bool
[src]
fn ne(&self, other: &Kind) -> bool
This method tests for !=
.
impl Eq for Kind
[src]
impl Eq for Kind