pub struct ProductPatchInput {
pub id: String,
pub name: Option<String>,
pub description: Option<String>,
pub unit_price: Option<Decimal>,
pub default_sales_tax_ids: Option<Vec<String>>,
pub income_account_id: Option<String>,
pub expense_account_id: Option<String>,
}Expand description
Input for patching a product.
Fields§
§id: String§name: Option<String>§description: Option<String>§unit_price: Option<Decimal>§default_sales_tax_ids: Option<Vec<String>>§income_account_id: Option<String>§expense_account_id: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for ProductPatchInput
impl Clone for ProductPatchInput
Source§fn clone(&self) -> ProductPatchInput
fn clone(&self) -> ProductPatchInput
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 ProductPatchInput
impl Debug for ProductPatchInput
Auto Trait Implementations§
impl Freeze for ProductPatchInput
impl RefUnwindSafe for ProductPatchInput
impl Send for ProductPatchInput
impl Sync for ProductPatchInput
impl Unpin for ProductPatchInput
impl UnsafeUnpin for ProductPatchInput
impl UnwindSafe for ProductPatchInput
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