#[non_exhaustive]pub struct RuleGroupVariablesBuilder { /* private fields */ }
Expand description
A builder for RuleGroupVariables
.
Implementations§
source§impl RuleGroupVariablesBuilder
impl RuleGroupVariablesBuilder
sourcepub fn ip_sets(self, input: RuleGroupVariablesIpSetsDetails) -> Self
pub fn ip_sets(self, input: RuleGroupVariablesIpSetsDetails) -> Self
A list of IP addresses and address ranges, in CIDR notation.
sourcepub fn set_ip_sets(self, input: Option<RuleGroupVariablesIpSetsDetails>) -> Self
pub fn set_ip_sets(self, input: Option<RuleGroupVariablesIpSetsDetails>) -> Self
A list of IP addresses and address ranges, in CIDR notation.
sourcepub fn get_ip_sets(&self) -> &Option<RuleGroupVariablesIpSetsDetails>
pub fn get_ip_sets(&self) -> &Option<RuleGroupVariablesIpSetsDetails>
A list of IP addresses and address ranges, in CIDR notation.
sourcepub fn port_sets(self, input: RuleGroupVariablesPortSetsDetails) -> Self
pub fn port_sets(self, input: RuleGroupVariablesPortSetsDetails) -> Self
A list of port ranges.
sourcepub fn set_port_sets(
self,
input: Option<RuleGroupVariablesPortSetsDetails>
) -> Self
pub fn set_port_sets( self, input: Option<RuleGroupVariablesPortSetsDetails> ) -> Self
A list of port ranges.
sourcepub fn get_port_sets(&self) -> &Option<RuleGroupVariablesPortSetsDetails>
pub fn get_port_sets(&self) -> &Option<RuleGroupVariablesPortSetsDetails>
A list of port ranges.
sourcepub fn build(self) -> RuleGroupVariables
pub fn build(self) -> RuleGroupVariables
Consumes the builder and constructs a RuleGroupVariables
.
Trait Implementations§
source§impl Clone for RuleGroupVariablesBuilder
impl Clone for RuleGroupVariablesBuilder
source§fn clone(&self) -> RuleGroupVariablesBuilder
fn clone(&self) -> RuleGroupVariablesBuilder
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 Debug for RuleGroupVariablesBuilder
impl Debug for RuleGroupVariablesBuilder
source§impl Default for RuleGroupVariablesBuilder
impl Default for RuleGroupVariablesBuilder
source§fn default() -> RuleGroupVariablesBuilder
fn default() -> RuleGroupVariablesBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for RuleGroupVariablesBuilder
impl PartialEq for RuleGroupVariablesBuilder
source§fn eq(&self, other: &RuleGroupVariablesBuilder) -> bool
fn eq(&self, other: &RuleGroupVariablesBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RuleGroupVariablesBuilder
Auto Trait Implementations§
impl Freeze for RuleGroupVariablesBuilder
impl RefUnwindSafe for RuleGroupVariablesBuilder
impl Send for RuleGroupVariablesBuilder
impl Sync for RuleGroupVariablesBuilder
impl Unpin for RuleGroupVariablesBuilder
impl UnwindSafe for RuleGroupVariablesBuilder
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.