pub struct BatchRetrieveInventoryCountsRequest {
pub catalog_object_ids: Option<Vec<String>>,
pub location_ids: Option<Vec<String>>,
pub updated_after: String,
pub cursor: String,
pub states: Vec<InventoryState>,
}
Expand description
This is a model struct for BatchRetrieveInventoryCountsRequest type.
Fields§
§catalog_object_ids: Option<Vec<String>>
The filter to return results by CatalogObject ID. The filter is applicable only when set
location_ids: Option<Vec<String>>
The filter to return results by Location ID. This filter is applicable only when set.
updated_after: String
The filter to return results with their calculated_at value after the given time.
cursor: String
A pagination cursor returned by a previous call to this endpoint. Provide this to retrieve the next set of results for the original query.
states: Vec<InventoryState>
The filter to return results by InventoryState. The filter is only applicable when set. Ignored are untracked states of NONE, SOLD, and UNLINKED_RETURN. The default is null.
Trait Implementations§
Source§impl Clone for BatchRetrieveInventoryCountsRequest
impl Clone for BatchRetrieveInventoryCountsRequest
Source§fn clone(&self) -> BatchRetrieveInventoryCountsRequest
fn clone(&self) -> BatchRetrieveInventoryCountsRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for BatchRetrieveInventoryCountsRequest
impl Default for BatchRetrieveInventoryCountsRequest
Source§fn default() -> BatchRetrieveInventoryCountsRequest
fn default() -> BatchRetrieveInventoryCountsRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BatchRetrieveInventoryCountsRequest
impl<'de> Deserialize<'de> for BatchRetrieveInventoryCountsRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for BatchRetrieveInventoryCountsRequest
impl PartialEq for BatchRetrieveInventoryCountsRequest
Source§fn eq(&self, other: &BatchRetrieveInventoryCountsRequest) -> bool
fn eq(&self, other: &BatchRetrieveInventoryCountsRequest) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Eq for BatchRetrieveInventoryCountsRequest
impl StructuralPartialEq for BatchRetrieveInventoryCountsRequest
Auto Trait Implementations§
impl Freeze for BatchRetrieveInventoryCountsRequest
impl RefUnwindSafe for BatchRetrieveInventoryCountsRequest
impl Send for BatchRetrieveInventoryCountsRequest
impl Sync for BatchRetrieveInventoryCountsRequest
impl Unpin for BatchRetrieveInventoryCountsRequest
impl UnwindSafe for BatchRetrieveInventoryCountsRequest
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
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
Compare self to
key
and return true
if they are equal.