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
sourceimpl Clone for SearchCatalogItemsRequest
impl Clone for SearchCatalogItemsRequest
sourcefn clone(&self) -> SearchCatalogItemsRequest
fn clone(&self) -> SearchCatalogItemsRequest
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresourceimpl Debug for SearchCatalogItemsRequest
impl Debug for SearchCatalogItemsRequest
sourceimpl Default for SearchCatalogItemsRequest
impl Default for SearchCatalogItemsRequest
sourcefn default() -> SearchCatalogItemsRequest
fn default() -> SearchCatalogItemsRequest
sourceimpl PartialEq<SearchCatalogItemsRequest> for SearchCatalogItemsRequest
impl PartialEq<SearchCatalogItemsRequest> for SearchCatalogItemsRequest
sourcefn eq(&self, other: &SearchCatalogItemsRequest) -> bool
fn eq(&self, other: &SearchCatalogItemsRequest) -> bool
sourceimpl Serialize for SearchCatalogItemsRequest
impl Serialize for SearchCatalogItemsRequest
impl Eq for SearchCatalogItemsRequest
impl StructuralEq for SearchCatalogItemsRequest
impl StructuralPartialEq for SearchCatalogItemsRequest
Auto Trait Implementations
impl RefUnwindSafe for SearchCatalogItemsRequest
impl Send for SearchCatalogItemsRequest
impl Sync for SearchCatalogItemsRequest
impl Unpin for SearchCatalogItemsRequest
impl UnwindSafe for SearchCatalogItemsRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.