#[non_exhaustive]pub struct RuleGroupVariablesIpSetsDetailsBuilder { /* private fields */ }
Expand description
A builder for RuleGroupVariablesIpSetsDetails
.
Implementations§
source§impl RuleGroupVariablesIpSetsDetailsBuilder
impl RuleGroupVariablesIpSetsDetailsBuilder
sourcepub fn definition(self, input: impl Into<String>) -> Self
pub fn definition(self, input: impl Into<String>) -> Self
Appends an item to definition
.
To override the contents of this collection use set_definition
.
The list of IP addresses and ranges.
sourcepub fn set_definition(self, input: Option<Vec<String>>) -> Self
pub fn set_definition(self, input: Option<Vec<String>>) -> Self
The list of IP addresses and ranges.
sourcepub fn get_definition(&self) -> &Option<Vec<String>>
pub fn get_definition(&self) -> &Option<Vec<String>>
The list of IP addresses and ranges.
sourcepub fn build(self) -> RuleGroupVariablesIpSetsDetails
pub fn build(self) -> RuleGroupVariablesIpSetsDetails
Consumes the builder and constructs a RuleGroupVariablesIpSetsDetails
.
Trait Implementations§
source§impl Clone for RuleGroupVariablesIpSetsDetailsBuilder
impl Clone for RuleGroupVariablesIpSetsDetailsBuilder
source§fn clone(&self) -> RuleGroupVariablesIpSetsDetailsBuilder
fn clone(&self) -> RuleGroupVariablesIpSetsDetailsBuilder
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 RuleGroupVariablesIpSetsDetailsBuilder
impl Default for RuleGroupVariablesIpSetsDetailsBuilder
source§fn default() -> RuleGroupVariablesIpSetsDetailsBuilder
fn default() -> RuleGroupVariablesIpSetsDetailsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for RuleGroupVariablesIpSetsDetailsBuilder
impl PartialEq for RuleGroupVariablesIpSetsDetailsBuilder
source§fn eq(&self, other: &RuleGroupVariablesIpSetsDetailsBuilder) -> bool
fn eq(&self, other: &RuleGroupVariablesIpSetsDetailsBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RuleGroupVariablesIpSetsDetailsBuilder
Auto Trait Implementations§
impl Freeze for RuleGroupVariablesIpSetsDetailsBuilder
impl RefUnwindSafe for RuleGroupVariablesIpSetsDetailsBuilder
impl Send for RuleGroupVariablesIpSetsDetailsBuilder
impl Sync for RuleGroupVariablesIpSetsDetailsBuilder
impl Unpin for RuleGroupVariablesIpSetsDetailsBuilder
impl UnwindSafe for RuleGroupVariablesIpSetsDetailsBuilder
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.