[][src]Struct postgres_parser::sys::AccessPriv

#[repr(C)]pub struct AccessPriv {
    pub type_: NodeTag,
    pub priv_name: *mut c_char,
    pub cols: *mut List,
}

An access privilege, with optional list of column names priv_name == NULL denotes ALL PRIVILEGES (only used with a column list) cols == NIL denotes "all columns" Note that simple "ALL PRIVILEGES" is represented as a NIL list, not an AccessPriv with both fields null.

Fields

type_: NodeTagpriv_name: *mut c_charcols: *mut List

string name of privilege

Trait Implementations

impl Debug for AccessPriv[src]

impl Default for AccessPriv[src]

impl Eq for AccessPriv[src]

impl Hash for AccessPriv[src]

impl PartialEq<AccessPriv> for AccessPriv[src]

impl StructuralEq for AccessPriv[src]

impl StructuralPartialEq for AccessPriv[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, 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.