#[non_exhaustive]pub struct ListTargetsInput {
pub filters: Option<Vec<ListTargetsFilter>>,
pub next_token: Option<String>,
pub max_results: Option<i32>,
}
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.filters: Option<Vec<ListTargetsFilter>>
The filters to use to return information by service or resource type. Valid filters include target type, target address, and target status.
A filter with the same name can appear more than once when used with OR statements. Filters with different names should be applied with AND statements.
next_token: Option<String>
An enumeration token that, when provided in a request, returns the next batch of the results.
max_results: Option<i32>
A non-negative integer used to limit the number of returned results. The maximum number of results that can be returned is 100.
Implementations§
source§impl ListTargetsInput
impl ListTargetsInput
sourcepub fn filters(&self) -> &[ListTargetsFilter]
pub fn filters(&self) -> &[ListTargetsFilter]
The filters to use to return information by service or resource type. Valid filters include target type, target address, and target status.
A filter with the same name can appear more than once when used with OR statements. Filters with different names should be applied with AND statements.
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()
.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
An enumeration token that, when provided in a request, returns the next batch of the results.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
A non-negative integer used to limit the number of returned results. The maximum number of results that can be returned is 100.
source§impl ListTargetsInput
impl ListTargetsInput
sourcepub fn builder() -> ListTargetsInputBuilder
pub fn builder() -> ListTargetsInputBuilder
Creates a new builder-style object to manufacture ListTargetsInput
.
Trait Implementations§
source§impl Clone for ListTargetsInput
impl Clone for ListTargetsInput
source§fn clone(&self) -> ListTargetsInput
fn clone(&self) -> ListTargetsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListTargetsInput
impl Debug for ListTargetsInput
source§impl PartialEq for ListTargetsInput
impl PartialEq for ListTargetsInput
source§fn eq(&self, other: &ListTargetsInput) -> bool
fn eq(&self, other: &ListTargetsInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListTargetsInput
Auto Trait Implementations§
impl Freeze for ListTargetsInput
impl RefUnwindSafe for ListTargetsInput
impl Send for ListTargetsInput
impl Sync for ListTargetsInput
impl Unpin for ListTargetsInput
impl UnwindSafe for ListTargetsInput
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