pub trait RoleLimitsSetters: Holds<RoleLimits> + Sized {
// Required methods
fn roles(self, value: impl Into<Limit>) -> Self;
fn actions_per_role(self, value: impl Into<Limit>) -> Self;
fn rules(self, value: impl Into<Limit>) -> Self;
fn scope_kinds(self, value: impl Into<Limit>) -> Self;
fn name_bytes(self, value: impl Into<Limit>) -> Self;
fn ancestors(self, value: impl Into<Limit>) -> Self;
}Expand description
The typed setters of RoleLimits, for any builder that holds its settings.
Required Methods§
Sourcefn actions_per_role(self, value: impl Into<Limit>) -> Self
fn actions_per_role(self, value: impl Into<Limit>) -> Self
Actions one role lists.
Sourcefn scope_kinds(self, value: impl Into<Limit>) -> Self
fn scope_kinds(self, value: impl Into<Limit>) -> Self
Scope kinds a policy allows.
Sourcefn name_bytes(self, value: impl Into<Limit>) -> Self
fn name_bytes(self, value: impl Into<Limit>) -> Self
Bytes in a role, action, subject value, scope kind or scope id.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".