pub trait RuleSetters: Holds<Rule> + Sized {
// Required methods
fn subject(self, value: impl Into<String>) -> Self;
fn scope(self, value: impl Into<String>) -> Self;
fn role(self, value: impl Into<String>) -> Self;
fn propagate(self, value: bool) -> Self;
}Expand description
The typed setters of Rule, for any builder that holds its settings.
Required Methods§
Sourcefn subject(self, value: impl Into<String>) -> Self
fn subject(self, value: impl Into<String>) -> Self
account:<name>, person:<id>, group:<name> or any:signed-in, the last matching
every subject a sign-in or key resolved (never one with no identity). No other
any: name exists.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".