GranteesType in sqlparser::ast - Rust

Skip to main content

pub enum GranteesType {
    Role,
    Share,
    User,
    Group,
    Public,
    DatabaseRole,
    Application,
    ApplicationRole,
    None,
}
Expand description

The kind of principal receiving privileges.

Variants§

§

Role

A role principal.

A share principal.

§

User

A user principal.

§

Group

A group principal.

§

Public

The public principal.

§

DatabaseRole

A database role principal.

§

Application

An application principal.

§

ApplicationRole

An application role principal.

§

None

No specific principal (e.g. NONE).

Trait Implementations§

Auto Trait Implementations§

§

impl Freeze for GranteesType

§

impl RefUnwindSafe for GranteesType

§

impl Send for GranteesType

§

impl Sync for GranteesType

§

impl Unpin for GranteesType

§

impl UnwindSafe for GranteesType

Blanket Implementations§