#[non_exhaustive]pub struct SearchListingsInput {
pub domain_identifier: Option<String>,
pub search_text: Option<String>,
pub search_in: Option<Vec<SearchInItem>>,
pub max_results: Option<i32>,
pub next_token: Option<String>,
pub filters: Option<FilterClause>,
pub sort: Option<SearchSort>,
pub additional_attributes: Option<Vec<SearchOutputAdditionalAttribute>>,
}
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.domain_identifier: Option<String>
The identifier of the domain in which to search listings.
search_text: Option<String>
Specifies the text for which to search.
search_in: Option<Vec<SearchInItem>>
max_results: Option<i32>
The maximum number of results to return in a single call to SearchListings
. When the number of results to be listed is greater than the value of MaxResults
, the response contains a NextToken
value that you can use in a subsequent call to SearchListings
to list the next set of results.
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.
filters: Option<FilterClause>
Specifies the filters for the search of listings.
sort: Option<SearchSort>
Specifies the way for sorting the search results.
additional_attributes: Option<Vec<SearchOutputAdditionalAttribute>>
Specifies additional attributes for the search.
Implementations§
source§impl SearchListingsInput
impl SearchListingsInput
sourcepub fn domain_identifier(&self) -> Option<&str>
pub fn domain_identifier(&self) -> Option<&str>
The identifier of the domain in which to search listings.
sourcepub fn search_text(&self) -> Option<&str>
pub fn search_text(&self) -> Option<&str>
Specifies the text for which to search.
sourcepub fn search_in(&self) -> &[SearchInItem]
pub fn search_in(&self) -> &[SearchInItem]
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .search_in.is_none()
.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of results to return in a single call to SearchListings
. When the number of results to be listed is greater than the value of MaxResults
, the response contains a NextToken
value that you can use in a subsequent call to SearchListings
to list the next set of results.
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 filters(&self) -> Option<&FilterClause>
pub fn filters(&self) -> Option<&FilterClause>
Specifies the filters for the search of listings.
sourcepub fn sort(&self) -> Option<&SearchSort>
pub fn sort(&self) -> Option<&SearchSort>
Specifies the way for sorting the search results.
sourcepub fn additional_attributes(&self) -> &[SearchOutputAdditionalAttribute]
pub fn additional_attributes(&self) -> &[SearchOutputAdditionalAttribute]
Specifies additional attributes for the search.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .additional_attributes.is_none()
.
source§impl SearchListingsInput
impl SearchListingsInput
sourcepub fn builder() -> SearchListingsInputBuilder
pub fn builder() -> SearchListingsInputBuilder
Creates a new builder-style object to manufacture SearchListingsInput
.
Trait Implementations§
source§impl Clone for SearchListingsInput
impl Clone for SearchListingsInput
source§fn clone(&self) -> SearchListingsInput
fn clone(&self) -> SearchListingsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SearchListingsInput
impl Debug for SearchListingsInput
source§impl PartialEq for SearchListingsInput
impl PartialEq for SearchListingsInput
source§fn eq(&self, other: &SearchListingsInput) -> bool
fn eq(&self, other: &SearchListingsInput) -> bool
self
and other
values to be equal, and is used
by ==
.