Struct rusoto_kendra::QueryResult [−][src]
pub struct QueryResult { pub facet_results: Option<Vec<FacetResult>>, pub query_id: Option<String>, pub result_items: Option<Vec<QueryResultItem>>, pub total_number_of_results: Option<i64>, }
Fields
facet_results: Option<Vec<FacetResult>>
Contains the facet results. A FacetResult
contains the counts for each attribute key that was specified in the Facets
input parameter.
query_id: Option<String>
The unique identifier for the search. You use QueryId
to identify the search when using the feedback API.
result_items: Option<Vec<QueryResultItem>>
The results of the search.
total_number_of_results: Option<i64>
The total number of items found by the search; however, you can only retrieve up to 100 items. For example, if the search found 192 items, you can only retrieve the first 100 of the items.
Trait Implementations
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for QueryResult
impl Send for QueryResult
impl Sync for QueryResult
impl Unpin for QueryResult
impl UnwindSafe for QueryResult
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self