pub enum AlterTableOwner<'a> {
Identifier(Identifier<'a>),
CurrentRole(Span),
CurrentUser(Span),
SessionUser(Span),
}Expand description
Owner value for ALTER TABLE OWNER TO
Variants§
Identifier(Identifier<'a>)
Regular identifier (role name)
CurrentRole(Span)
CURRENT_ROLE keyword
CurrentUser(Span)
CURRENT_USER keyword
SessionUser(Span)
SESSION_USER keyword
Trait Implementations§
Source§impl<'a> Clone for AlterTableOwner<'a>
impl<'a> Clone for AlterTableOwner<'a>
Source§fn clone(&self) -> AlterTableOwner<'a>
fn clone(&self) -> AlterTableOwner<'a>
Returns a duplicate 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 moreSource§impl<'a> Debug for AlterTableOwner<'a>
impl<'a> Debug for AlterTableOwner<'a>
Auto Trait Implementations§
impl<'a> Freeze for AlterTableOwner<'a>
impl<'a> RefUnwindSafe for AlterTableOwner<'a>
impl<'a> Send for AlterTableOwner<'a>
impl<'a> Sync for AlterTableOwner<'a>
impl<'a> Unpin for AlterTableOwner<'a>
impl<'a> UnsafeUnpin for AlterTableOwner<'a>
impl<'a> UnwindSafe for AlterTableOwner<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more