pub struct ReceiptLine {
pub sku: String,
pub quantity_received: f64,
pub quantity_rejected: f64,
pub rejection_reason: Option<String>,
}Fields§
§sku: String§quantity_received: f64§quantity_rejected: f64§rejection_reason: Option<String>Trait Implementations§
Source§impl Clone for ReceiptLine
impl Clone for ReceiptLine
Source§fn clone(&self) -> ReceiptLine
fn clone(&self) -> ReceiptLine
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 ReceiptLine
impl Debug for ReceiptLine
Source§impl<'de> Deserialize<'de> for ReceiptLine
impl<'de> Deserialize<'de> for ReceiptLine
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ReceiptLine
impl RefUnwindSafe for ReceiptLine
impl Send for ReceiptLine
impl Sync for ReceiptLine
impl Unpin for ReceiptLine
impl UnsafeUnpin for ReceiptLine
impl UnwindSafe for ReceiptLine
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