Owner in sqlparser::ast - Rust

Skip to main content

pub enum Owner {
    Ident(Ident),
    CurrentRole,
    CurrentUser,
    SessionUser,
}
Expand description

New owner specification for ALTER TABLE ... OWNER TO ...

Variants§

§

Ident(Ident)

A specific user/role identifier.

§

CurrentRole

CURRENT_ROLE keyword.

§

CurrentUser

CURRENT_USER keyword.

§

SessionUser

SESSION_USER keyword.

Trait Implementations§

Auto Trait Implementations§

§

impl Freeze for Owner

§

impl RefUnwindSafe for Owner

§

impl Send for Owner

§

impl Sync for Owner

§

impl Unpin for Owner

§

impl UnwindSafe for Owner

Blanket Implementations§