Struct aws_sdk_datazone::operation::search::SearchOutput
source · #[non_exhaustive]pub struct SearchOutput {
pub items: Option<Vec<SearchInventoryResultItem>>,
pub next_token: Option<String>,
pub total_match_count: Option<i32>,
/* private fields */
}
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.items: Option<Vec<SearchInventoryResultItem>>
The results of the Search
action.
next_token: Option<String>
When the number of results is greater than the default value for the MaxResults
parameter, or if you explicitly specify a value for MaxResults
that is less than the number of results, the response includes a pagination token named NextToken
. You can specify this NextToken
value in a subsequent call to Search
to list the next set of results.
total_match_count: Option<i32>
Total number of search results.
Implementations§
source§impl SearchOutput
impl SearchOutput
sourcepub fn items(&self) -> Option<&[SearchInventoryResultItem]>
pub fn items(&self) -> Option<&[SearchInventoryResultItem]>
The results of the Search
action.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
When the number of results is greater than the default value for the MaxResults
parameter, or if you explicitly specify a value for MaxResults
that is less than the number of results, the response includes a pagination token named NextToken
. You can specify this NextToken
value in a subsequent call to Search
to list the next set of results.
sourcepub fn total_match_count(&self) -> Option<i32>
pub fn total_match_count(&self) -> Option<i32>
Total number of search results.
source§impl SearchOutput
impl SearchOutput
sourcepub fn builder() -> SearchOutputBuilder
pub fn builder() -> SearchOutputBuilder
Creates a new builder-style object to manufacture SearchOutput
.
Trait Implementations§
source§impl Clone for SearchOutput
impl Clone for SearchOutput
source§fn clone(&self) -> SearchOutput
fn clone(&self) -> SearchOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SearchOutput
impl Debug for SearchOutput
source§impl PartialEq for SearchOutput
impl PartialEq for SearchOutput
source§fn eq(&self, other: &SearchOutput) -> bool
fn eq(&self, other: &SearchOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for SearchOutput
impl RequestId for SearchOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.