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