pub struct ReceiveItemLine {
pub receipt_item_id: Uuid,
pub quantity_received: Decimal,
pub quantity_rejected: Option<Decimal>,
pub rejection_reason: Option<String>,
pub lot_number: Option<String>,
pub serial_numbers: Option<Vec<String>>,
pub expiration_date: Option<DateTime<Utc>>,
pub notes: Option<String>,
}Expand description
A line in a receive operation.
Fields§
§receipt_item_id: Uuid§quantity_received: Decimal§quantity_rejected: Option<Decimal>§rejection_reason: Option<String>§lot_number: Option<String>§serial_numbers: Option<Vec<String>>§expiration_date: Option<DateTime<Utc>>§notes: Option<String>Trait Implementations§
Source§impl Clone for ReceiveItemLine
impl Clone for ReceiveItemLine
Source§fn clone(&self) -> ReceiveItemLine
fn clone(&self) -> ReceiveItemLine
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 ReceiveItemLine
impl Debug for ReceiveItemLine
Source§impl<'de> Deserialize<'de> for ReceiveItemLine
impl<'de> Deserialize<'de> for ReceiveItemLine
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ReceiveItemLine, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ReceiveItemLine, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for ReceiveItemLine
impl Serialize for ReceiveItemLine
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 ReceiveItemLine
impl RefUnwindSafe for ReceiveItemLine
impl Send for ReceiveItemLine
impl Sync for ReceiveItemLine
impl Unpin for ReceiveItemLine
impl UnsafeUnpin for ReceiveItemLine
impl UnwindSafe for ReceiveItemLine
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