#[non_exhaustive]pub struct ListCollectionsInput {
pub collection_filters: Option<CollectionFilters>,
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.collection_filters: Option<CollectionFilters>
A list of filter names and values that you can use for requests.
next_token: Option<String>
If your initial ListCollections
operation returns a nextToken
, you can include the returned nextToken
in subsequent ListCollections
operations, which returns results in the next page.
max_results: Option<i32>
The maximum number of results to return. Default is 20. You can use nextToken
to get the next page of results.
Implementations§
source§impl ListCollectionsInput
impl ListCollectionsInput
sourcepub fn collection_filters(&self) -> Option<&CollectionFilters>
pub fn collection_filters(&self) -> Option<&CollectionFilters>
A list of filter names and values that you can use for requests.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
If your initial ListCollections
operation returns a nextToken
, you can include the returned nextToken
in subsequent ListCollections
operations, which returns results in the next page.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of results to return. Default is 20. You can use nextToken
to get the next page of results.
source§impl ListCollectionsInput
impl ListCollectionsInput
sourcepub fn builder() -> ListCollectionsInputBuilder
pub fn builder() -> ListCollectionsInputBuilder
Creates a new builder-style object to manufacture ListCollectionsInput
.
Trait Implementations§
source§impl Clone for ListCollectionsInput
impl Clone for ListCollectionsInput
source§fn clone(&self) -> ListCollectionsInput
fn clone(&self) -> ListCollectionsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListCollectionsInput
impl Debug for ListCollectionsInput
source§impl PartialEq for ListCollectionsInput
impl PartialEq for ListCollectionsInput
source§fn eq(&self, other: &ListCollectionsInput) -> bool
fn eq(&self, other: &ListCollectionsInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListCollectionsInput
Auto Trait Implementations§
impl Freeze for ListCollectionsInput
impl RefUnwindSafe for ListCollectionsInput
impl Send for ListCollectionsInput
impl Sync for ListCollectionsInput
impl Unpin for ListCollectionsInput
impl UnwindSafe for ListCollectionsInput
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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