#[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 ==
.