[][src]Struct postgres_parser::sys::GrantStmt

#[repr(C)]pub struct GrantStmt {
    pub type_: NodeTag,
    pub is_grant: bool,
    pub targtype: GrantTargetType,
    pub objtype: ObjectType,
    pub objects: *mut List,
    pub privileges: *mut List,
    pub grantees: *mut List,
    pub grant_option: bool,
    pub behavior: DropBehavior,
}

Fields

type_: NodeTagis_grant: booltargtype: GrantTargetType

true = GRANT, false = REVOKE

objtype: ObjectType

type of the grant target

objects: *mut List

kind of object being operated on

privileges: *mut List

list of RangeVar nodes, ObjectWithArgs nodes, or plain names (as Value strings)

grantees: *mut List

list of AccessPriv nodes */

grant_option: bool

list of RoleSpec nodes

behavior: DropBehavior

grant or revoke grant option

Trait Implementations

impl Debug for GrantStmt[src]

impl Default for GrantStmt[src]

impl Eq for GrantStmt[src]

impl Hash for GrantStmt[src]

impl PartialEq<GrantStmt> for GrantStmt[src]

impl StructuralEq for GrantStmt[src]

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