pub struct AdjustLocationInventory {
pub location_id: i32,
pub sku: String,
pub lot_id: Option<Uuid>,
pub quantity: Decimal,
pub reason: String,
pub reference_type: Option<String>,
pub reference_id: Option<Uuid>,
pub performed_by: Option<String>,
}Expand description
Input for adjusting location inventory
Fields§
§location_id: i32§sku: String§lot_id: Option<Uuid>§quantity: Decimal§reason: String§reference_type: Option<String>§reference_id: Option<Uuid>§performed_by: Option<String>Trait Implementations§
Source§impl Clone for AdjustLocationInventory
impl Clone for AdjustLocationInventory
Source§fn clone(&self) -> AdjustLocationInventory
fn clone(&self) -> AdjustLocationInventory
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 AdjustLocationInventory
impl Debug for AdjustLocationInventory
Source§impl<'de> Deserialize<'de> for AdjustLocationInventory
impl<'de> Deserialize<'de> for AdjustLocationInventory
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AdjustLocationInventory, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<AdjustLocationInventory, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for AdjustLocationInventory
impl Serialize for AdjustLocationInventory
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 AdjustLocationInventory
impl RefUnwindSafe for AdjustLocationInventory
impl Send for AdjustLocationInventory
impl Sync for AdjustLocationInventory
impl Unpin for AdjustLocationInventory
impl UnsafeUnpin for AdjustLocationInventory
impl UnwindSafe for AdjustLocationInventory
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