[][src]Struct postgres_parser::sys::CreatePolicyStmt

#[repr(C)]pub struct CreatePolicyStmt {
    pub type_: NodeTag,
    pub policy_name: *mut c_char,
    pub table: *mut RangeVar,
    pub cmd_name: *mut c_char,
    pub permissive: bool,
    pub roles: *mut List,
    pub qual: *mut Node,
    pub with_check: *mut Node,
}

Create POLICY Statement

Fields

type_: NodeTagpolicy_name: *mut c_chartable: *mut RangeVar

Policy's name

cmd_name: *mut c_char

the table name the policy applies to

permissive: bool

the command name the policy applies to

roles: *mut List

restrictive or permissive policy

qual: *mut Node

the roles associated with the policy

with_check: *mut Node

the policy's condition

Trait Implementations

impl Debug for CreatePolicyStmt[src]

impl Default for CreatePolicyStmt[src]

impl Eq for CreatePolicyStmt[src]

impl Hash for CreatePolicyStmt[src]

impl PartialEq<CreatePolicyStmt> for CreatePolicyStmt[src]

impl StructuralEq for CreatePolicyStmt[src]

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