pub struct PgType {
pub oid: Oid,
pub name: &'static str,
}Expand description
A PostgreSQL type: its OID and canonical name.
Fields§
§oid: OidThe type’s object identifier.
name: &'static strThe canonical PostgreSQL name (e.g. int4, _int4).
Implementations§
Trait Implementations§
impl Copy for PgType
impl Eq for PgType
impl StructuralPartialEq for PgType
Auto Trait Implementations§
impl Freeze for PgType
impl RefUnwindSafe for PgType
impl Send for PgType
impl Sync for PgType
impl Unpin for PgType
impl UnsafeUnpin for PgType
impl UnwindSafe for PgType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more