#[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 Freeze for RuleGroupSourceStatelessRulesDetailsBuilder
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
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.