pub struct RlsConfig {
pub default_role: Option<String>,
pub super_admin_role: Option<String>,
}Expand description
[postgres.rls] — RLS default settings.
Fields§
§default_role: Option<String>Postgres role used for application connections.
super_admin_role: Option<String>Role name that bypasses RLS.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RlsConfig
impl RefUnwindSafe for RlsConfig
impl Send for RlsConfig
impl Sync for RlsConfig
impl Unpin for RlsConfig
impl UnsafeUnpin for RlsConfig
impl UnwindSafe for RlsConfig
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