pub struct APDebitMemoLine {Show 14 fields
pub line_number: u32,
pub material_id: Option<String>,
pub description: String,
pub quantity: Decimal,
pub unit: String,
pub unit_price: Decimal,
pub net_amount: Decimal,
pub tax_code: Option<String>,
pub tax_rate: Decimal,
pub tax_amount: Decimal,
pub gross_amount: Decimal,
pub gl_account: String,
pub reference_invoice_line: Option<u32>,
pub cost_center: Option<String>,
}Expand description
Debit memo line item.
Fields§
§line_number: u32Line number.
material_id: Option<String>Material/service ID.
description: StringDescription.
quantity: DecimalQuantity.
unit: StringUnit of measure.
unit_price: DecimalUnit price.
net_amount: DecimalNet amount.
tax_code: Option<String>Tax code.
tax_rate: DecimalTax rate.
tax_amount: DecimalTax amount.
gross_amount: DecimalGross amount.
gl_account: StringGL account.
reference_invoice_line: Option<u32>Reference invoice line.
cost_center: Option<String>Cost center.
Implementations§
Source§impl APDebitMemoLine
impl APDebitMemoLine
Trait Implementations§
Source§impl Clone for APDebitMemoLine
impl Clone for APDebitMemoLine
Source§fn clone(&self) -> APDebitMemoLine
fn clone(&self) -> APDebitMemoLine
Returns a duplicate of the value. Read more
1.0.0 · 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 APDebitMemoLine
impl Debug for APDebitMemoLine
Source§impl<'de> Deserialize<'de> for APDebitMemoLine
impl<'de> Deserialize<'de> for APDebitMemoLine
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 APDebitMemoLine
impl RefUnwindSafe for APDebitMemoLine
impl Send for APDebitMemoLine
impl Sync for APDebitMemoLine
impl Unpin for APDebitMemoLine
impl UnwindSafe for APDebitMemoLine
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