pub struct SearchCatalogItemsRequest {
pub text_filter: Option<String>,
pub category_ids: Option<Vec<String>>,
pub stock_levels: Option<Vec<SearchCatalogItemsRequestStockLevel>>,
pub enabled_location_ids: Option<Vec<String>>,
pub cursor: Option<String>,
pub limit: Option<i32>,
pub sort_order: Option<SortOrder>,
}
Expand description
This is a model struct for SearchCatalogItemsRequest type.
Fields§
§text_filter: Option<String>
The text filter expression to return items or item variations containing specified text in
the name
, description
, or abbreviation
attribute value of an item, or in the name
,
sku
, or upc
attribute value of an item variation.
category_ids: Option<Vec<String>>
The category id query expression to return items containing the specified category IDs.
stock_levels: Option<Vec<SearchCatalogItemsRequestStockLevel>>
The stock-level query expression to return item variations with the specified stock levels.
enabled_location_ids: Option<Vec<String>>
The enabled-location query expression to return items and item variations having specified enabled locations.
cursor: Option<String>
The pagination token, returned in the previous response, used to fetch the next batch of pending results.
limit: Option<i32>
The maximum number of results to return per page. The default value is 100.
Max 100
sort_order: Option<SortOrder>
The order to sort the results by item names. The default sort order is ascending (ASC
).
Trait Implementations§
Source§impl Clone for SearchCatalogItemsRequest
impl Clone for SearchCatalogItemsRequest
Source§fn clone(&self) -> SearchCatalogItemsRequest
fn clone(&self) -> SearchCatalogItemsRequest
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for SearchCatalogItemsRequest
impl Debug for SearchCatalogItemsRequest
Source§impl Default for SearchCatalogItemsRequest
impl Default for SearchCatalogItemsRequest
Source§fn default() -> SearchCatalogItemsRequest
fn default() -> SearchCatalogItemsRequest
impl Eq for SearchCatalogItemsRequest
impl StructuralPartialEq for SearchCatalogItemsRequest
Auto Trait Implementations§
impl Freeze for SearchCatalogItemsRequest
impl RefUnwindSafe for SearchCatalogItemsRequest
impl Send for SearchCatalogItemsRequest
impl Sync for SearchCatalogItemsRequest
impl Unpin for SearchCatalogItemsRequest
impl UnwindSafe for SearchCatalogItemsRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.