#[non_exhaustive]pub struct SearchCasesInput {
pub domain_id: Option<String>,
pub max_results: Option<i32>,
pub next_token: Option<String>,
pub search_term: Option<String>,
pub filter: Option<CaseFilter>,
pub sorts: Option<Vec<Sort>>,
pub fields: Option<Vec<FieldIdentifier>>,
}
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_id: Option<String>
The unique identifier of the Cases domain.
max_results: Option<i32>
The maximum number of cases to return. The current maximum supported value is 25. This is also the default value when no other value is provided.
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.
search_term: Option<String>
A word or phrase used to perform a quick search.
filter: Option<CaseFilter>
A list of filter objects.
sorts: Option<Vec<Sort>>
A list of sorts where each sort specifies a field and their sort order to be applied to the results.
fields: Option<Vec<FieldIdentifier>>
The list of field identifiers to be returned as part of the response.
Implementations§
source§impl SearchCasesInput
impl SearchCasesInput
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of cases to return. The current maximum supported value is 25. This is also the default value when no other value is provided.
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 search_term(&self) -> Option<&str>
pub fn search_term(&self) -> Option<&str>
A word or phrase used to perform a quick search.
sourcepub fn filter(&self) -> Option<&CaseFilter>
pub fn filter(&self) -> Option<&CaseFilter>
A list of filter objects.
sourcepub fn sorts(&self) -> Option<&[Sort]>
pub fn sorts(&self) -> Option<&[Sort]>
A list of sorts where each sort specifies a field and their sort order to be applied to the results.
sourcepub fn fields(&self) -> Option<&[FieldIdentifier]>
pub fn fields(&self) -> Option<&[FieldIdentifier]>
The list of field identifiers to be returned as part of the response.
source§impl SearchCasesInput
impl SearchCasesInput
sourcepub fn builder() -> SearchCasesInputBuilder
pub fn builder() -> SearchCasesInputBuilder
Creates a new builder-style object to manufacture SearchCasesInput
.
Trait Implementations§
source§impl Clone for SearchCasesInput
impl Clone for SearchCasesInput
source§fn clone(&self) -> SearchCasesInput
fn clone(&self) -> SearchCasesInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SearchCasesInput
impl Debug for SearchCasesInput
source§impl PartialEq for SearchCasesInput
impl PartialEq for SearchCasesInput
source§fn eq(&self, other: &SearchCasesInput) -> bool
fn eq(&self, other: &SearchCasesInput) -> bool
self
and other
values to be equal, and is used
by ==
.