#[non_exhaustive]pub struct RuleGroupSourceStatelessRulesDetailsBuilder { /* private fields */ }
Expand description
A builder for RuleGroupSourceStatelessRulesDetails
.
Implementations§
source§impl RuleGroupSourceStatelessRulesDetailsBuilder
impl RuleGroupSourceStatelessRulesDetailsBuilder
sourcepub fn priority(self, input: i32) -> Self
pub fn priority(self, input: i32) -> Self
Indicates the order in which to run this rule relative to all of the rules in the stateless rule group.
sourcepub fn set_priority(self, input: Option<i32>) -> Self
pub fn set_priority(self, input: Option<i32>) -> Self
Indicates the order in which to run this rule relative to all of the rules in the stateless rule group.
sourcepub fn get_priority(&self) -> &Option<i32>
pub fn get_priority(&self) -> &Option<i32>
Indicates the order in which to run this rule relative to all of the rules in the stateless rule group.
sourcepub fn rule_definition(
self,
input: RuleGroupSourceStatelessRuleDefinition
) -> Self
pub fn rule_definition( self, input: RuleGroupSourceStatelessRuleDefinition ) -> Self
Provides the definition of the stateless rule.
sourcepub fn set_rule_definition(
self,
input: Option<RuleGroupSourceStatelessRuleDefinition>
) -> Self
pub fn set_rule_definition( self, input: Option<RuleGroupSourceStatelessRuleDefinition> ) -> Self
Provides the definition of the stateless rule.
sourcepub fn get_rule_definition(
&self
) -> &Option<RuleGroupSourceStatelessRuleDefinition>
pub fn get_rule_definition( &self ) -> &Option<RuleGroupSourceStatelessRuleDefinition>
Provides the definition of the stateless rule.
sourcepub fn build(self) -> RuleGroupSourceStatelessRulesDetails
pub fn build(self) -> RuleGroupSourceStatelessRulesDetails
Consumes the builder and constructs a RuleGroupSourceStatelessRulesDetails
.
Trait Implementations§
source§impl Clone for RuleGroupSourceStatelessRulesDetailsBuilder
impl Clone for RuleGroupSourceStatelessRulesDetailsBuilder
source§fn clone(&self) -> RuleGroupSourceStatelessRulesDetailsBuilder
fn clone(&self) -> RuleGroupSourceStatelessRulesDetailsBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for RuleGroupSourceStatelessRulesDetailsBuilder
impl Default for RuleGroupSourceStatelessRulesDetailsBuilder
source§fn default() -> RuleGroupSourceStatelessRulesDetailsBuilder
fn default() -> RuleGroupSourceStatelessRulesDetailsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for RuleGroupSourceStatelessRulesDetailsBuilder
impl PartialEq for RuleGroupSourceStatelessRulesDetailsBuilder
source§fn eq(&self, other: &RuleGroupSourceStatelessRulesDetailsBuilder) -> bool
fn eq(&self, other: &RuleGroupSourceStatelessRulesDetailsBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RuleGroupSourceStatelessRulesDetailsBuilder
Auto Trait Implementations§
impl RefUnwindSafe for RuleGroupSourceStatelessRulesDetailsBuilder
impl Send for RuleGroupSourceStatelessRulesDetailsBuilder
impl Sync for RuleGroupSourceStatelessRulesDetailsBuilder
impl Unpin for RuleGroupSourceStatelessRulesDetailsBuilder
impl UnwindSafe for RuleGroupSourceStatelessRulesDetailsBuilder
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
Mutably borrows from an owned value. Read more