pub struct PgDbRoleSetting {
pub setdatabase: Option<()>,
pub setrole: Option<Str>,
pub setconfig: Option<Vec<Str>>,
}Expand description
The DDL-only contents of pg_db_role_setting
Fields§
§setdatabase: Option<()>oid (references pg_database.oid) The OID of the database the setting is applicable to, or zero if not database-specific
setrole: Option<Str>oid (references pg_authid.oid) The OID of the role the setting is applicable to, or zero if not role-specific
setconfig: Option<Vec<Str>>text[] Defaults for run-time configuration variables
Trait Implementations§
Source§impl Clone for PgDbRoleSetting
impl Clone for PgDbRoleSetting
Source§fn clone(&self) -> PgDbRoleSetting
fn clone(&self) -> PgDbRoleSetting
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 PgDbRoleSetting
impl Debug for PgDbRoleSetting
Source§impl<'de> Deserialize<'de> for PgDbRoleSetting
impl<'de> Deserialize<'de> for PgDbRoleSetting
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 PartialEq for PgDbRoleSetting
impl PartialEq for PgDbRoleSetting
Source§impl Serialize for PgDbRoleSetting
impl Serialize for PgDbRoleSetting
impl Eq for PgDbRoleSetting
impl StructuralPartialEq for PgDbRoleSetting
Auto Trait Implementations§
impl Freeze for PgDbRoleSetting
impl RefUnwindSafe for PgDbRoleSetting
impl Send for PgDbRoleSetting
impl Sync for PgDbRoleSetting
impl Unpin for PgDbRoleSetting
impl UnsafeUnpin for PgDbRoleSetting
impl UnwindSafe for PgDbRoleSetting
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> 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.