pub enum DefaultPrivilegesOption {
ForRole(Vec<Ident>),
InSchema(Vec<ObjectName>),
}Expand description
The options of AlterDefaultPrivileges, kept in the order written.
Variants§
Trait Implementations§
Source§impl Clone for DefaultPrivilegesOption
impl Clone for DefaultPrivilegesOption
Source§fn clone(&self) -> DefaultPrivilegesOption
fn clone(&self) -> DefaultPrivilegesOption
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 moreSource§impl Debug for DefaultPrivilegesOption
impl Debug for DefaultPrivilegesOption
Source§impl Display for DefaultPrivilegesOption
impl Display for DefaultPrivilegesOption
impl Eq for DefaultPrivilegesOption
Source§impl Hash for DefaultPrivilegesOption
impl Hash for DefaultPrivilegesOption
Source§impl Ord for DefaultPrivilegesOption
impl Ord for DefaultPrivilegesOption
Source§fn cmp(&self, other: &DefaultPrivilegesOption) -> Ordering
fn cmp(&self, other: &DefaultPrivilegesOption) -> 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 DefaultPrivilegesOption
impl PartialEq for DefaultPrivilegesOption
Source§impl PartialOrd for DefaultPrivilegesOption
impl PartialOrd for DefaultPrivilegesOption
impl StructuralPartialEq for DefaultPrivilegesOption
Auto Trait Implementations§
impl Freeze for DefaultPrivilegesOption
impl RefUnwindSafe for DefaultPrivilegesOption
impl Send for DefaultPrivilegesOption
impl Sync for DefaultPrivilegesOption
impl Unpin for DefaultPrivilegesOption
impl UnsafeUnpin for DefaultPrivilegesOption
impl UnwindSafe for DefaultPrivilegesOption
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