pub struct AlterDefaultPrivileges {
pub options: Vec<DefaultPrivilegesOption>,
pub operation: AlterDefaultPrivilegesOperation,
}Expand description
ALTER DEFAULT PRIVILEGES, which applies to objects created later rather
than to existing ones.
Fields§
§options: Vec<DefaultPrivilegesOption>The FOR ROLE and IN SCHEMA options, in written order.
operation: AlterDefaultPrivilegesOperationThe abbreviated GRANT or REVOKE that follows.
Trait Implementations§
Source§impl Clone for AlterDefaultPrivileges
impl Clone for AlterDefaultPrivileges
Source§fn clone(&self) -> AlterDefaultPrivileges
fn clone(&self) -> AlterDefaultPrivileges
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 AlterDefaultPrivileges
impl Debug for AlterDefaultPrivileges
Source§impl Display for AlterDefaultPrivileges
impl Display for AlterDefaultPrivileges
impl Eq for AlterDefaultPrivileges
Source§impl From<AlterDefaultPrivileges> for Statement
impl From<AlterDefaultPrivileges> for Statement
Source§fn from(v: AlterDefaultPrivileges) -> Self
fn from(v: AlterDefaultPrivileges) -> Self
Converts to this type from the input type.
Source§impl Hash for AlterDefaultPrivileges
impl Hash for AlterDefaultPrivileges
Source§impl Ord for AlterDefaultPrivileges
impl Ord for AlterDefaultPrivileges
Source§fn cmp(&self, other: &AlterDefaultPrivileges) -> Ordering
fn cmp(&self, other: &AlterDefaultPrivileges) -> 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 AlterDefaultPrivileges
impl PartialEq for AlterDefaultPrivileges
Source§impl PartialOrd for AlterDefaultPrivileges
impl PartialOrd for AlterDefaultPrivileges
Source§impl Spanned for AlterDefaultPrivileges
impl Spanned for AlterDefaultPrivileges
impl StructuralPartialEq for AlterDefaultPrivileges
Auto Trait Implementations§
impl Freeze for AlterDefaultPrivileges
impl RefUnwindSafe for AlterDefaultPrivileges
impl Send for AlterDefaultPrivileges
impl Sync for AlterDefaultPrivileges
impl Unpin for AlterDefaultPrivileges
impl UnsafeUnpin for AlterDefaultPrivileges
impl UnwindSafe for AlterDefaultPrivileges
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