Struct postgres_shared::types::Type [−][src]
A Postgres type.
Methods
impl Type
[src]
[−]
impl Type
pub fn from_oid(oid: Oid) -> Option<Type>
[src]
[−]
pub fn from_oid(oid: Oid) -> Option<Type>
Returns the Type
corresponding to the provided Oid
if it
corresponds to a built-in type.
pub fn oid(&self) -> Oid
[src]
[−]
pub fn oid(&self) -> Oid
Returns the OID of the Type
.
pub fn kind(&self) -> &Kind
[src]
[−]
pub fn kind(&self) -> &Kind
Returns the kind of this type.
pub fn schema(&self) -> &str
[src]
[−]
pub fn schema(&self) -> &str
Returns the schema of this type.
pub fn name(&self) -> &str
[src]
[−]
pub fn name(&self) -> &str
Returns the name of this type.
Trait Implementations
impl PartialEq for Type
[src]
[+]
impl PartialEq for Type
impl Eq for Type
[src]
impl Eq for Type
impl Clone for Type
[src]
[+]
impl Clone for Type
impl Debug for Type
[src]
[+]
impl Debug for Type
impl Display for Type
[src]
[+]
impl Display for Type