#[non_exhaustive]pub struct RuleGroupDetailsBuilder { /* private fields */ }
Expand description
A builder for RuleGroupDetails
.
Implementations§
source§impl RuleGroupDetailsBuilder
impl RuleGroupDetailsBuilder
sourcepub fn rule_variables(self, input: RuleGroupVariables) -> Self
pub fn rule_variables(self, input: RuleGroupVariables) -> Self
Additional settings to use in the specified rules.
sourcepub fn set_rule_variables(self, input: Option<RuleGroupVariables>) -> Self
pub fn set_rule_variables(self, input: Option<RuleGroupVariables>) -> Self
Additional settings to use in the specified rules.
sourcepub fn get_rule_variables(&self) -> &Option<RuleGroupVariables>
pub fn get_rule_variables(&self) -> &Option<RuleGroupVariables>
Additional settings to use in the specified rules.
sourcepub fn rules_source(self, input: RuleGroupSource) -> Self
pub fn rules_source(self, input: RuleGroupSource) -> Self
The rules and actions for the rule group.
For stateful rule groups, can contain RulesString
, RulesSourceList
, or StatefulRules
.
For stateless rule groups, contains StatelessRulesAndCustomActions
.
sourcepub fn set_rules_source(self, input: Option<RuleGroupSource>) -> Self
pub fn set_rules_source(self, input: Option<RuleGroupSource>) -> Self
The rules and actions for the rule group.
For stateful rule groups, can contain RulesString
, RulesSourceList
, or StatefulRules
.
For stateless rule groups, contains StatelessRulesAndCustomActions
.
sourcepub fn get_rules_source(&self) -> &Option<RuleGroupSource>
pub fn get_rules_source(&self) -> &Option<RuleGroupSource>
The rules and actions for the rule group.
For stateful rule groups, can contain RulesString
, RulesSourceList
, or StatefulRules
.
For stateless rule groups, contains StatelessRulesAndCustomActions
.
sourcepub fn build(self) -> RuleGroupDetails
pub fn build(self) -> RuleGroupDetails
Consumes the builder and constructs a RuleGroupDetails
.
Trait Implementations§
source§impl Clone for RuleGroupDetailsBuilder
impl Clone for RuleGroupDetailsBuilder
source§fn clone(&self) -> RuleGroupDetailsBuilder
fn clone(&self) -> RuleGroupDetailsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RuleGroupDetailsBuilder
impl Debug for RuleGroupDetailsBuilder
source§impl Default for RuleGroupDetailsBuilder
impl Default for RuleGroupDetailsBuilder
source§fn default() -> RuleGroupDetailsBuilder
fn default() -> RuleGroupDetailsBuilder
source§impl PartialEq for RuleGroupDetailsBuilder
impl PartialEq for RuleGroupDetailsBuilder
source§fn eq(&self, other: &RuleGroupDetailsBuilder) -> bool
fn eq(&self, other: &RuleGroupDetailsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RuleGroupDetailsBuilder
Auto Trait Implementations§
impl Freeze for RuleGroupDetailsBuilder
impl RefUnwindSafe for RuleGroupDetailsBuilder
impl Send for RuleGroupDetailsBuilder
impl Sync for RuleGroupDetailsBuilder
impl Unpin for RuleGroupDetailsBuilder
impl UnwindSafe for RuleGroupDetailsBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more