#[non_exhaustive]pub struct ListResolverRulesInput {
pub max_results: Option<i32>,
pub next_token: Option<String>,
pub filters: Option<Vec<Filter>>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.max_results: Option<i32>
The maximum number of Resolver rules that you want to return in the response to a ListResolverRules
request. If you don't specify a value for MaxResults
, Resolver returns up to 100 Resolver rules.
next_token: Option<String>
For the first ListResolverRules
request, omit this value.
If you have more than MaxResults
Resolver rules, you can submit another ListResolverRules
request to get the next group of Resolver rules. In the next request, specify the value of NextToken
from the previous response.
filters: Option<Vec<Filter>>
An optional specification to return a subset of Resolver rules, such as all Resolver rules that are associated with the same Resolver endpoint.
If you submit a second or subsequent ListResolverRules
request and specify the NextToken
parameter, you must use the same values for Filters
, if any, as in the previous request.
Implementations§
source§impl ListResolverRulesInput
impl ListResolverRulesInput
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of Resolver rules that you want to return in the response to a ListResolverRules
request. If you don't specify a value for MaxResults
, Resolver returns up to 100 Resolver rules.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
For the first ListResolverRules
request, omit this value.
If you have more than MaxResults
Resolver rules, you can submit another ListResolverRules
request to get the next group of Resolver rules. In the next request, specify the value of NextToken
from the previous response.
sourcepub fn filters(&self) -> &[Filter]
pub fn filters(&self) -> &[Filter]
An optional specification to return a subset of Resolver rules, such as all Resolver rules that are associated with the same Resolver endpoint.
If you submit a second or subsequent ListResolverRules
request and specify the NextToken
parameter, you must use the same values for Filters
, if any, as in the previous request.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .filters.is_none()
.
source§impl ListResolverRulesInput
impl ListResolverRulesInput
sourcepub fn builder() -> ListResolverRulesInputBuilder
pub fn builder() -> ListResolverRulesInputBuilder
Creates a new builder-style object to manufacture ListResolverRulesInput
.
Trait Implementations§
source§impl Clone for ListResolverRulesInput
impl Clone for ListResolverRulesInput
source§fn clone(&self) -> ListResolverRulesInput
fn clone(&self) -> ListResolverRulesInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListResolverRulesInput
impl Debug for ListResolverRulesInput
source§impl PartialEq for ListResolverRulesInput
impl PartialEq for ListResolverRulesInput
source§fn eq(&self, other: &ListResolverRulesInput) -> bool
fn eq(&self, other: &ListResolverRulesInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListResolverRulesInput
Auto Trait Implementations§
impl Freeze for ListResolverRulesInput
impl RefUnwindSafe for ListResolverRulesInput
impl Send for ListResolverRulesInput
impl Sync for ListResolverRulesInput
impl Unpin for ListResolverRulesInput
impl UnwindSafe for ListResolverRulesInput
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