Struct postgres_shared::types::Type[][src]

pub struct Type(_);

A Postgres type.

Methods

impl Type
[src]

Returns the Type corresponding to the provided Oid if it corresponds to a built-in type.

Returns the OID of the Type.

Returns the kind of this type.

Returns the schema of this type.

Returns the name of this type.

Trait Implementations

impl PartialEq for Type
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Type
[src]

impl Clone for Type
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Type
[src]

Formats the value using the given formatter. Read more

impl Display for Type
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Type

impl Sync for Type