pub enum RoleKeyword {
Role,
Group,
}Expand description
The object keyword in a CREATE ROLE or CREATE GROUP statement.
Variants§
Role
ROLE, the general role object in both PostgreSQL and Redshift.
Group
GROUP, an obsolete spelling of ROLE in PostgreSQL, and a user group
distinct from a role in Redshift.
Trait Implementations§
Source§impl Clone for RoleKeyword
impl Clone for RoleKeyword
Source§fn clone(&self) -> RoleKeyword
fn clone(&self) -> RoleKeyword
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RoleKeyword
Source§impl Debug for RoleKeyword
impl Debug for RoleKeyword
Source§impl Display for RoleKeyword
impl Display for RoleKeyword
impl Eq for RoleKeyword
Source§impl Hash for RoleKeyword
impl Hash for RoleKeyword
Source§impl Ord for RoleKeyword
impl Ord for RoleKeyword
Source§fn cmp(&self, other: &RoleKeyword) -> Ordering
fn cmp(&self, other: &RoleKeyword) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for RoleKeyword
impl PartialEq for RoleKeyword
Source§impl PartialOrd for RoleKeyword
impl PartialOrd for RoleKeyword
impl StructuralPartialEq for RoleKeyword
Auto Trait Implementations§
impl Freeze for RoleKeyword
impl RefUnwindSafe for RoleKeyword
impl Send for RoleKeyword
impl Sync for RoleKeyword
impl Unpin for RoleKeyword
impl UnsafeUnpin for RoleKeyword
impl UnwindSafe for RoleKeyword
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