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