Enum sqlparser::ast::GrantObjects
source · 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>)
Grant privileges on specific schemas
Sequences(Vec<ObjectName>)
Grant privileges on specific sequences
Tables(Vec<ObjectName>)
Grant privileges on specific tables
Trait Implementations§
source§impl Clone for GrantObjects
impl Clone for GrantObjects
source§fn clone(&self) -> GrantObjects
fn clone(&self) -> GrantObjects
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more