libpq 6.0.1

Safe binding for libpq
Documentation
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum Kind {
    Array(crate::Oid),
    BitString,
    Boolean,
    Composite,
    DateTime,
    Enum,
    Geometric,
    Internal,
    Network,
    Numeric,
    Pseudo,
    Range(crate::Oid),
    String,
    Timestamp,
    Unknow,
    UserDefined,
}

#[derive(Clone, Debug, PartialEq, Eq)]
pub struct Type {
    pub oid: crate::Oid,
    pub descr: &'static str,
    pub name: &'static str,
    pub kind: Kind,
}

include!("gen.rs");

impl From<Type> for crate::Oid {
    fn from(ty: Type) -> crate::Oid {
        ty.oid
    }
}