Enum wing_sqlparser::ast::GrantObjects [−][src]
pub enum GrantObjects {
AllSequencesInSchema {
schemas: Vec<ObjectName>,
},
AllTablesInSchema {
schemas: Vec<ObjectName>,
},
Schemas(Vec<ObjectName>),
Sequences(Vec<ObjectName>),
Tables(Vec<ObjectName>),
}
Expand description
Objects on which privileges are granted in a GRANT statement.
Variants
AllSequencesInSchema
Fields
schemas: Vec<ObjectName>
Grant privileges on ALL SEQUENCES IN SCHEMA <schema_name> [, ...]
AllTablesInSchema
Fields
schemas: Vec<ObjectName>
Grant privileges on ALL TABLES IN SCHEMA <schema_name> [, ...]
Schemas(Vec<ObjectName>)
Tuple Fields
0: Vec<ObjectName>
Grant privileges on specific schemas
Sequences(Vec<ObjectName>)
Tuple Fields
0: Vec<ObjectName>
Grant privileges on specific sequences
Tables(Vec<ObjectName>)
Tuple Fields
0: Vec<ObjectName>
Grant privileges on specific tables
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for GrantObjects
impl Send for GrantObjects
impl Sync for GrantObjects
impl Unpin for GrantObjects
impl UnwindSafe for GrantObjects
Blanket Implementations
Mutably borrows from an owned value. Read more