pub struct AdjustInventory {
pub sku: String,
pub location_id: Option<i32>,
pub quantity: Decimal,
pub reason: String,
pub reference_type: Option<String>,
pub reference_id: Option<String>,
}Expand description
Input for adjusting inventory
Fields§
§sku: String§location_id: Option<i32>§quantity: Decimal§reason: String§reference_type: Option<String>§reference_id: Option<String>Trait Implementations§
Source§impl Clone for AdjustInventory
impl Clone for AdjustInventory
Source§fn clone(&self) -> AdjustInventory
fn clone(&self) -> AdjustInventory
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AdjustInventory
impl Debug for AdjustInventory
Source§impl<'de> Deserialize<'de> for AdjustInventory
impl<'de> Deserialize<'de> for AdjustInventory
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AdjustInventory, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<AdjustInventory, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for AdjustInventory
impl Serialize for AdjustInventory
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for AdjustInventory
impl RefUnwindSafe for AdjustInventory
impl Send for AdjustInventory
impl Sync for AdjustInventory
impl Unpin for AdjustInventory
impl UnsafeUnpin for AdjustInventory
impl UnwindSafe for AdjustInventory
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