pub enum AlterDefaultPrivilegesObjectType {
Tables,
Sequences,
Functions,
Routines,
Types,
Schemas,
}Expand description
Object kinds accepted by ALTER DEFAULT PRIVILEGES ... ON <kind>.
PostgreSQL restricts this clause to a fixed set of plural kinds; the abbreviated grant/revoke that follows applies to future objects of that kind that are created in the affected role/schema scope.
Variants§
Trait Implementations§
Source§impl Clone for AlterDefaultPrivilegesObjectType
impl Clone for AlterDefaultPrivilegesObjectType
Source§fn clone(&self) -> AlterDefaultPrivilegesObjectType
fn clone(&self) -> AlterDefaultPrivilegesObjectType
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<'de> Deserialize<'de> for AlterDefaultPrivilegesObjectType
impl<'de> Deserialize<'de> for AlterDefaultPrivilegesObjectType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Ord for AlterDefaultPrivilegesObjectType
impl Ord for AlterDefaultPrivilegesObjectType
Source§fn cmp(&self, other: &AlterDefaultPrivilegesObjectType) -> Ordering
fn cmp(&self, other: &AlterDefaultPrivilegesObjectType) -> Ordering
1.21.0 · 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
Source§impl PartialEq for AlterDefaultPrivilegesObjectType
impl PartialEq for AlterDefaultPrivilegesObjectType
Source§fn eq(&self, other: &AlterDefaultPrivilegesObjectType) -> bool
fn eq(&self, other: &AlterDefaultPrivilegesObjectType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for AlterDefaultPrivilegesObjectType
impl PartialOrd for AlterDefaultPrivilegesObjectType
Source§impl VisitMut for AlterDefaultPrivilegesObjectType
impl VisitMut for AlterDefaultPrivilegesObjectType
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 AlterDefaultPrivilegesObjectType
impl StructuralPartialEq for AlterDefaultPrivilegesObjectType
Auto Trait Implementations§
impl Freeze for AlterDefaultPrivilegesObjectType
impl RefUnwindSafe for AlterDefaultPrivilegesObjectType
impl Send for AlterDefaultPrivilegesObjectType
impl Sync for AlterDefaultPrivilegesObjectType
impl Unpin for AlterDefaultPrivilegesObjectType
impl UnsafeUnpin for AlterDefaultPrivilegesObjectType
impl UnwindSafe for AlterDefaultPrivilegesObjectType
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