[][src]Struct pgx_pg_sys::FormData_pg_attribute

#[repr(C)]pub struct FormData_pg_attribute {
    pub attrelid: Oid,
    pub attname: NameData,
    pub atttypid: Oid,
    pub attstattarget: int32,
    pub attlen: int16,
    pub attnum: int16,
    pub attndims: int32,
    pub attcacheoff: int32,
    pub atttypmod: int32,
    pub attbyval: bool,
    pub attstorage: c_char,
    pub attalign: c_char,
    pub attnotnull: bool,
    pub atthasdef: bool,
    pub atthasmissing: bool,
    pub attidentity: c_char,
    pub attgenerated: c_char,
    pub attisdropped: bool,
    pub attislocal: bool,
    pub attinhcount: int32,
    pub attcollation: Oid,
}

Fields

attrelid: Oidattname: NameDataatttypid: Oidattstattarget: int32attlen: int16attnum: int16attndims: int32attcacheoff: int32atttypmod: int32attbyval: boolattstorage: c_charattalign: c_charattnotnull: boolatthasdef: boolatthasmissing: boolattidentity: c_charattgenerated: c_charattisdropped: boolattislocal: boolattinhcount: int32attcollation: Oid

Implementations

impl FormData_pg_attribute[src]

Helper implementation for FormData_pg_attribute

pub fn name(&self) -> &str[src]

pub fn type_oid(&self) -> PgOid[src]

pub fn type_mod(&self) -> i32[src]

pub fn num(&self) -> i16[src]

pub fn is_dropped(&self) -> bool[src]

pub fn rel_id(&self) -> Oid[src]

Trait Implementations

impl Clone for FormData_pg_attribute[src]

impl Copy for FormData_pg_attribute[src]

impl Default for FormData_pg_attribute[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.