#[non_exhaustive]pub struct SearchCasesOptionalParams {
pub page_size: Option<i64>,
pub page_number: Option<i64>,
pub sort_field: Option<CaseSortableField>,
pub filter: Option<String>,
pub sort_asc: Option<bool>,
}
Expand description
SearchCasesOptionalParams is a struct for passing parameters to the method CaseManagementAPI::search_cases
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.page_size: Option<i64>
Size for a given page. The maximum allowed value is 100.
page_number: Option<i64>
Specific page number to return.
sort_field: Option<CaseSortableField>
Specify which field to sort
filter: Option<String>
Search query
sort_asc: Option<bool>
Specify if order is ascending or not
Implementations§
Source§impl SearchCasesOptionalParams
impl SearchCasesOptionalParams
Sourcepub fn page_size(self, value: i64) -> Self
pub fn page_size(self, value: i64) -> Self
Size for a given page. The maximum allowed value is 100.
Sourcepub fn page_number(self, value: i64) -> Self
pub fn page_number(self, value: i64) -> Self
Specific page number to return.
Sourcepub fn sort_field(self, value: CaseSortableField) -> Self
pub fn sort_field(self, value: CaseSortableField) -> Self
Specify which field to sort
Trait Implementations§
Source§impl Clone for SearchCasesOptionalParams
impl Clone for SearchCasesOptionalParams
Source§fn clone(&self) -> SearchCasesOptionalParams
fn clone(&self) -> SearchCasesOptionalParams
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SearchCasesOptionalParams
impl Debug for SearchCasesOptionalParams
Source§impl Default for SearchCasesOptionalParams
impl Default for SearchCasesOptionalParams
Source§fn default() -> SearchCasesOptionalParams
fn default() -> SearchCasesOptionalParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SearchCasesOptionalParams
impl RefUnwindSafe for SearchCasesOptionalParams
impl Send for SearchCasesOptionalParams
impl Sync for SearchCasesOptionalParams
impl Unpin for SearchCasesOptionalParams
impl UnwindSafe for SearchCasesOptionalParams
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more