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