pub trait RoleOptBuilderExt {
// Required method
fn role_opts(&mut self) -> &mut Option<BTreeSet<RoleOpt>>;
// Provided methods
fn password(&mut self, p: impl Into<LitStr>) -> &mut Self { ... }
fn login(&mut self, b: bool) -> &mut Self { ... }
fn superuser(&mut self, b: bool) -> &mut Self { ... }
fn role_options(&mut self, m: impl Into<MapLiteral>) -> &mut Self { ... }
fn access_to_datacenters(&mut self, s: impl Into<SetLiteral>) -> &mut Self { ... }
fn access_to_all_datacenters(&mut self) -> &mut Self { ... }
}
Required Methods§
Provided Methods§
fn password(&mut self, p: impl Into<LitStr>) -> &mut Self
fn login(&mut self, b: bool) -> &mut Self
fn superuser(&mut self, b: bool) -> &mut Self
fn role_options(&mut self, m: impl Into<MapLiteral>) -> &mut Self
fn access_to_datacenters(&mut self, s: impl Into<SetLiteral>) -> &mut Self
fn access_to_all_datacenters(&mut self) -> &mut Self
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.