#[non_exhaustive]pub struct SearchListingsOutput {
pub items: Option<Vec<SearchResultItem>>,
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<SearchResultItem>>The results of the SearchListings 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 SearchListings to list the next set of results.
total_match_count: Option<i32>Total number of search results.
Implementations§
source§impl SearchListingsOutput
impl SearchListingsOutput
sourcepub fn items(&self) -> &[SearchResultItem]
pub fn items(&self) -> &[SearchResultItem]
The results of the SearchListings action.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .items.is_none().
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 SearchListings 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 SearchListingsOutput
impl SearchListingsOutput
sourcepub fn builder() -> SearchListingsOutputBuilder
pub fn builder() -> SearchListingsOutputBuilder
Creates a new builder-style object to manufacture SearchListingsOutput.
Trait Implementations§
source§impl Clone for SearchListingsOutput
impl Clone for SearchListingsOutput
source§fn clone(&self) -> SearchListingsOutput
fn clone(&self) -> SearchListingsOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for SearchListingsOutput
impl Debug for SearchListingsOutput
source§impl PartialEq for SearchListingsOutput
impl PartialEq for SearchListingsOutput
source§fn eq(&self, other: &SearchListingsOutput) -> bool
fn eq(&self, other: &SearchListingsOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for SearchListingsOutput
impl RequestId for SearchListingsOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.