pub struct BatchChangeInventoryRequest {
pub idempotency_key: String,
pub changes: Option<Vec<InventoryChange>>,
pub ignore_unchanged_count: bool,
}
Expand description
This is a model class for BatchChangeInventoryRequest type.
Fields§
§idempotency_key: String
A client-supplied, universally unique identifier (UUID) for the request.
changes: Option<Vec<InventoryChange>>
The set of physical counts and inventory adjustments to be made. Changes are applied based on the client-supplied timestamp and may be sent out of order.
ignore_unchanged_count: bool
Indicates whether the current physical count should be ignored if the quantity is unchanged. Default: true.
Trait Implementations§
source§impl Clone for BatchChangeInventoryRequest
impl Clone for BatchChangeInventoryRequest
source§fn clone(&self) -> BatchChangeInventoryRequest
fn clone(&self) -> BatchChangeInventoryRequest
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for BatchChangeInventoryRequest
impl Debug for BatchChangeInventoryRequest
source§impl Default for BatchChangeInventoryRequest
impl Default for BatchChangeInventoryRequest
source§fn default() -> BatchChangeInventoryRequest
fn default() -> BatchChangeInventoryRequest
Returns the “default value” for a type. Read more
source§impl PartialEq<BatchChangeInventoryRequest> for BatchChangeInventoryRequest
impl PartialEq<BatchChangeInventoryRequest> for BatchChangeInventoryRequest
source§fn eq(&self, other: &BatchChangeInventoryRequest) -> bool
fn eq(&self, other: &BatchChangeInventoryRequest) -> bool
impl Eq for BatchChangeInventoryRequest
impl StructuralEq for BatchChangeInventoryRequest
impl StructuralPartialEq for BatchChangeInventoryRequest
Auto Trait Implementations§
impl RefUnwindSafe for BatchChangeInventoryRequest
impl Send for BatchChangeInventoryRequest
impl Sync for BatchChangeInventoryRequest
impl Unpin for BatchChangeInventoryRequest
impl UnwindSafe for BatchChangeInventoryRequest
Blanket Implementations§
source§impl<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,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.