Struct aws_sdk_wisdom::types::QuickResponseQueryField
source · #[non_exhaustive]pub struct QuickResponseQueryField {
pub name: String,
pub values: Vec<String>,
pub operator: QuickResponseQueryOperator,
pub allow_fuzziness: Option<bool>,
pub priority: Option<Priority>,
}
Expand description
The quick response fields to query quick responses by.
The following is the list of supported field names.
-
content
-
name
-
description
-
shortcutKey
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.name: String
The name of the attribute to query the quick responses by.
values: Vec<String>
The values of the attribute to query the quick responses by.
operator: QuickResponseQueryOperator
The operator to use for matching attribute field values in the query.
allow_fuzziness: Option<bool>
Whether the query expects only exact matches on the attribute field values. The results of the query will only include exact matches if this parameter is set to false.
priority: Option<Priority>
The importance of the attribute field when calculating query result relevancy scores. The value set for this parameter affects the ordering of search results.
Implementations§
source§impl QuickResponseQueryField
impl QuickResponseQueryField
sourcepub fn operator(&self) -> &QuickResponseQueryOperator
pub fn operator(&self) -> &QuickResponseQueryOperator
The operator to use for matching attribute field values in the query.
sourcepub fn allow_fuzziness(&self) -> Option<bool>
pub fn allow_fuzziness(&self) -> Option<bool>
Whether the query expects only exact matches on the attribute field values. The results of the query will only include exact matches if this parameter is set to false.
source§impl QuickResponseQueryField
impl QuickResponseQueryField
sourcepub fn builder() -> QuickResponseQueryFieldBuilder
pub fn builder() -> QuickResponseQueryFieldBuilder
Creates a new builder-style object to manufacture QuickResponseQueryField
.
Trait Implementations§
source§impl Clone for QuickResponseQueryField
impl Clone for QuickResponseQueryField
source§fn clone(&self) -> QuickResponseQueryField
fn clone(&self) -> QuickResponseQueryField
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for QuickResponseQueryField
impl Debug for QuickResponseQueryField
source§impl PartialEq for QuickResponseQueryField
impl PartialEq for QuickResponseQueryField
source§fn eq(&self, other: &QuickResponseQueryField) -> bool
fn eq(&self, other: &QuickResponseQueryField) -> bool
self
and other
values to be equal, and is used
by ==
.