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
sourceimpl Clone for BatchRetrieveInventoryCountsRequest
impl Clone for BatchRetrieveInventoryCountsRequest
sourcefn clone(&self) -> BatchRetrieveInventoryCountsRequest
fn clone(&self) -> BatchRetrieveInventoryCountsRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Default for BatchRetrieveInventoryCountsRequest
impl Default for BatchRetrieveInventoryCountsRequest
sourcefn default() -> BatchRetrieveInventoryCountsRequest
fn default() -> BatchRetrieveInventoryCountsRequest
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for BatchRetrieveInventoryCountsRequest
impl<'de> Deserialize<'de> for BatchRetrieveInventoryCountsRequest
sourcefn 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
sourceimpl PartialEq<BatchRetrieveInventoryCountsRequest> for BatchRetrieveInventoryCountsRequest
impl PartialEq<BatchRetrieveInventoryCountsRequest> for BatchRetrieveInventoryCountsRequest
sourcefn eq(&self, other: &BatchRetrieveInventoryCountsRequest) -> bool
fn eq(&self, other: &BatchRetrieveInventoryCountsRequest) -> bool
impl Eq for BatchRetrieveInventoryCountsRequest
impl StructuralEq for BatchRetrieveInventoryCountsRequest
impl StructuralPartialEq for BatchRetrieveInventoryCountsRequest
Auto Trait Implementations
impl RefUnwindSafe for BatchRetrieveInventoryCountsRequest
impl Send for BatchRetrieveInventoryCountsRequest
impl Sync for BatchRetrieveInventoryCountsRequest
impl Unpin for BatchRetrieveInventoryCountsRequest
impl UnwindSafe for BatchRetrieveInventoryCountsRequest
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
Mutably borrows from an owned value. Read more
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
Compare self to
key
and return true
if they are equal.