pub struct DefaultPrivKey {
pub owner: String,
pub schema: String,
pub on_type: ObjectType,
pub grantee: String,
}Expand description
Unique key identifying a default privilege rule.
Fields§
§owner: StringThe owner role context (whose newly-created objects get these defaults).
schema: StringThe schema where the default applies.
on_type: ObjectTypeThe type of object affected.
grantee: StringThe grantee role.
Trait Implementations§
Source§impl Clone for DefaultPrivKey
impl Clone for DefaultPrivKey
Source§fn clone(&self) -> DefaultPrivKey
fn clone(&self) -> DefaultPrivKey
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 Debug for DefaultPrivKey
impl Debug for DefaultPrivKey
Source§impl Hash for DefaultPrivKey
impl Hash for DefaultPrivKey
Source§impl Ord for DefaultPrivKey
impl Ord for DefaultPrivKey
Source§fn cmp(&self, other: &DefaultPrivKey) -> Ordering
fn cmp(&self, other: &DefaultPrivKey) -> 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 DefaultPrivKey
impl PartialEq for DefaultPrivKey
Source§impl PartialOrd for DefaultPrivKey
impl PartialOrd for DefaultPrivKey
Source§impl Serialize for DefaultPrivKey
impl Serialize for DefaultPrivKey
impl Eq for DefaultPrivKey
impl StructuralPartialEq for DefaultPrivKey
Auto Trait Implementations§
impl Freeze for DefaultPrivKey
impl RefUnwindSafe for DefaultPrivKey
impl Send for DefaultPrivKey
impl Sync for DefaultPrivKey
impl Unpin for DefaultPrivKey
impl UnsafeUnpin for DefaultPrivKey
impl UnwindSafe for DefaultPrivKey
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.