pub struct InvoiceCreateItemInput {
pub product_id: String,
pub description: Option<String>,
pub quantity: Option<Decimal>,
pub unit_price: Option<Decimal>,
pub taxes: Option<Vec<InvoiceCreateItemTaxInput>>,
}Expand description
A line item on an invoice create/patch.
Fields§
§product_id: String§description: Option<String>§quantity: Option<Decimal>§unit_price: Option<Decimal>§taxes: Option<Vec<InvoiceCreateItemTaxInput>>Implementations§
Trait Implementations§
Source§impl Clone for InvoiceCreateItemInput
impl Clone for InvoiceCreateItemInput
Source§fn clone(&self) -> InvoiceCreateItemInput
fn clone(&self) -> InvoiceCreateItemInput
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 InvoiceCreateItemInput
impl Debug for InvoiceCreateItemInput
Auto Trait Implementations§
impl Freeze for InvoiceCreateItemInput
impl RefUnwindSafe for InvoiceCreateItemInput
impl Send for InvoiceCreateItemInput
impl Sync for InvoiceCreateItemInput
impl Unpin for InvoiceCreateItemInput
impl UnsafeUnpin for InvoiceCreateItemInput
impl UnwindSafe for InvoiceCreateItemInput
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