pub struct BatchRetrieveInventoryChangesRequest {
pub catalog_object_ids: Option<Vec<String>>,
pub location_ids: Option<Vec<String>>,
pub updated_after: String,
pub updated_before: String,
pub cursor: String,
pub states: Vec<InventoryState>,
pub types: Vec<InventoryChangeType>,
}
Expand description
This is a model struct for BatchRetrieveInventoryChangesRequest 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.
updated_before: String
The filter to return results with their created_at or calculated_at value strictly before 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.
types: Vec<InventoryChangeType>
The filter to return results by InventoryChangeType values other than TRANSFER. The default value is [PHYSICAL_COUNT, ADJUSTMENT].
Trait Implementations§
Source§impl Clone for BatchRetrieveInventoryChangesRequest
impl Clone for BatchRetrieveInventoryChangesRequest
Source§fn clone(&self) -> BatchRetrieveInventoryChangesRequest
fn clone(&self) -> BatchRetrieveInventoryChangesRequest
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for BatchRetrieveInventoryChangesRequest
impl Default for BatchRetrieveInventoryChangesRequest
Source§fn default() -> BatchRetrieveInventoryChangesRequest
fn default() -> BatchRetrieveInventoryChangesRequest
Source§impl<'de> Deserialize<'de> for BatchRetrieveInventoryChangesRequest
impl<'de> Deserialize<'de> for BatchRetrieveInventoryChangesRequest
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>,
Source§impl PartialEq for BatchRetrieveInventoryChangesRequest
impl PartialEq for BatchRetrieveInventoryChangesRequest
Source§fn eq(&self, other: &BatchRetrieveInventoryChangesRequest) -> bool
fn eq(&self, other: &BatchRetrieveInventoryChangesRequest) -> bool
self
and other
values to be equal, and is used by ==
.impl Eq for BatchRetrieveInventoryChangesRequest
impl StructuralPartialEq for BatchRetrieveInventoryChangesRequest
Auto Trait Implementations§
impl Freeze for BatchRetrieveInventoryChangesRequest
impl RefUnwindSafe for BatchRetrieveInventoryChangesRequest
impl Send for BatchRetrieveInventoryChangesRequest
impl Sync for BatchRetrieveInventoryChangesRequest
impl Unpin for BatchRetrieveInventoryChangesRequest
impl UnwindSafe for BatchRetrieveInventoryChangesRequest
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.