Struct rusoto_kendra::FacetResult [−][src]
pub struct FacetResult { pub document_attribute_key: Option<String>, pub document_attribute_value_count_pairs: Option<Vec<DocumentAttributeValueCountPair>>, pub document_attribute_value_type: Option<String>, }
Expand description
The facet values for the documents in the response.
Fields
document_attribute_key: Option<String>
The key for the facet values. This is the same as the DocumentAttributeKey
provided in the query.
document_attribute_value_count_pairs: Option<Vec<DocumentAttributeValueCountPair>>
An array of key/value pairs, where the key is the value of the attribute and the count is the number of documents that share the key value.
document_attribute_value_type: Option<String>
The data type of the facet value. This is the same as the type defined for the index field when it was created.
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 FacetResult
impl Send for FacetResult
impl Sync for FacetResult
impl Unpin for FacetResult
impl UnwindSafe for FacetResult
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