pub enum ObjectType {
Show 22 variants
Table,
Schema,
Domain,
Collation,
CharacterSet,
Translation,
Type,
Sequence,
Function,
Procedure,
Routine,
Method,
ConstructorMethod,
StaticMethod,
InstanceMethod,
SpecificFunction,
SpecificProcedure,
SpecificRoutine,
SpecificMethod,
SpecificConstructorMethod,
SpecificStaticMethod,
SpecificInstanceMethod,
}Expand description
Types of database objects that can have privileges granted on them.
Variants§
Table
Table object
Schema
Schema object
Domain
Domain object - user-defined data type with constraints (SQL:1999 Feature F031-03)
Collation
Collation object - character comparison rules (SQL:1999 Feature F031-06)
CharacterSet
Character set object - character encoding definitions (SQL:1999 Feature F031-08)
Translation
Translation object - character set conversions (SQL:1999 Feature F031-09)
Type
Type object - user-defined types (SQL:1999 Feature F031-10)
Sequence
Sequence object - auto-increment sequences (SQL:1999 Feature F031-11)
Function
Function object (SQL:1999 Feature P001)
Procedure
Procedure object (SQL:1999 Feature P001)
Routine
Routine object (generic term covering both functions and procedures)
Method
Method object (SQL:1999 Feature S091)
ConstructorMethod
Constructor method for user-defined types
StaticMethod
Static method for user-defined types
InstanceMethod
Instance method for user-defined types
SpecificFunction
Specific function - function by signature (SQL:1999 Feature F031-15)
SpecificProcedure
Specific procedure - procedure by signature (SQL:1999 Feature F031-16)
SpecificRoutine
Specific routine - routine by signature (SQL:1999 Feature F031-17)
SpecificMethod
Specific method - method by signature (SQL:1999 Feature F031-12)
SpecificConstructorMethod
Specific constructor method (SQL:1999 Feature F031-12)
SpecificStaticMethod
Specific static method (SQL:1999 Feature F031-12)
SpecificInstanceMethod
Specific instance method (SQL:1999 Feature F031-12)
Trait Implementations§
Source§impl Clone for ObjectType
impl Clone for ObjectType
Source§fn clone(&self) -> ObjectType
fn clone(&self) -> ObjectType
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more