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 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 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
impl Eq for BatchChangeInventoryRequest
impl StructuralPartialEq for BatchChangeInventoryRequest
Auto Trait Implementations§
impl Freeze for BatchChangeInventoryRequest
impl RefUnwindSafe for BatchChangeInventoryRequest
impl Send for BatchChangeInventoryRequest
impl Sync for BatchChangeInventoryRequest
impl Unpin for BatchChangeInventoryRequest
impl UnwindSafe for BatchChangeInventoryRequest
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.