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§
Source§impl Ord for Owner
impl Ord for Owner
Source§impl PartialOrd for Owner
impl PartialOrd for Owner
Source§impl VisitMut for Owner
impl VisitMut for Owner
Source§fn visit<V: VisitorMut>(&mut self, visitor: &mut V) -> ControlFlow<V::Break>
fn visit<V: VisitorMut>(&mut self, visitor: &mut V) -> ControlFlow<V::Break>
Mutably visit this node with the provided
VisitorMut. Read moreimpl Eq for Owner
impl StructuralPartialEq for Owner
Auto Trait Implementations§
impl Freeze for Owner
impl RefUnwindSafe for Owner
impl Send for Owner
impl Sync for Owner
impl Unpin for Owner
impl UnsafeUnpin for Owner
impl UnwindSafe for Owner
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