#[non_exhaustive]pub struct SearchContentInput {
pub next_token: Option<String>,
pub max_results: Option<i32>,
pub knowledge_base_id: Option<String>,
pub search_expression: Option<SearchExpression>,
}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.next_token: Option<String>The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
max_results: Option<i32>The maximum number of results to return per page.
knowledge_base_id: Option<String>The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Wisdom Content resource to it. Can be either the ID or the ARN. URLs cannot contain the ARN.
search_expression: Option<SearchExpression>The search expression to filter results.
Implementations§
source§impl SearchContentInput
impl SearchContentInput
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of results to return per page.
sourcepub fn knowledge_base_id(&self) -> Option<&str>
pub fn knowledge_base_id(&self) -> Option<&str>
The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Wisdom Content resource to it. Can be either the ID or the ARN. URLs cannot contain the ARN.
sourcepub fn search_expression(&self) -> Option<&SearchExpression>
pub fn search_expression(&self) -> Option<&SearchExpression>
The search expression to filter results.
source§impl SearchContentInput
impl SearchContentInput
sourcepub fn builder() -> SearchContentInputBuilder
pub fn builder() -> SearchContentInputBuilder
Creates a new builder-style object to manufacture SearchContentInput.
Trait Implementations§
source§impl Clone for SearchContentInput
impl Clone for SearchContentInput
source§fn clone(&self) -> SearchContentInput
fn clone(&self) -> SearchContentInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for SearchContentInput
impl Debug for SearchContentInput
source§impl PartialEq for SearchContentInput
impl PartialEq for SearchContentInput
source§fn eq(&self, other: &SearchContentInput) -> bool
fn eq(&self, other: &SearchContentInput) -> bool
self and other values to be equal, and is used
by ==.