pub trait MatchRuleSetters: Holds<MatchRule> + Sized {
// Required methods
fn by(self, value: impl Into<String>) -> Self;
fn template(self, value: impl Into<String>) -> Self;
fn pins(self, value: impl Into<Option<String>>) -> Self;
fn domain(self, value: impl Into<Option<String>>) -> Self;
}Expand description
The typed setters of MatchRule, for any builder that holds its settings.
Required Methods§
Sourcefn by(self, value: impl Into<String>) -> Self
fn by(self, value: impl Into<String>) -> Self
What the rendered text is: name, email or id (the directory attribute it is
looked up by), or filter (an LDAP filter, values escaped).
Sourcefn template(self, value: impl Into<String>) -> Self
fn template(self, value: impl Into<String>) -> Self
Text with {claim} and {claim|filter|...} parts; {{ and }} are braces. The
filters are lower, upper, local (before the last @) and domain (after it).
It names at least one claim. Stripping a realm with local loses what ties the name
to it, so such a rule also needs domain or pins.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".