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