pub struct TaxProductResourceTaxSettingsDefaults {
pub tax_behavior: Option<TaxProductResourceTaxSettingsDefaultsTaxBehavior>,
pub tax_code: Option<String>,
}
Fields§
§tax_behavior: Option<TaxProductResourceTaxSettingsDefaultsTaxBehavior>
Default tax behavior used to specify whether the price is considered inclusive of taxes or exclusive of taxes. If the item’s price has a tax behavior set, it will take precedence over the default tax behavior.
tax_code: Option<String>
Default tax code used to classify your products and prices.
Trait Implementations§
Source§impl Clone for TaxProductResourceTaxSettingsDefaults
impl Clone for TaxProductResourceTaxSettingsDefaults
Source§fn clone(&self) -> TaxProductResourceTaxSettingsDefaults
fn clone(&self) -> TaxProductResourceTaxSettingsDefaults
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 FromValueOpt for TaxProductResourceTaxSettingsDefaults
impl FromValueOpt for TaxProductResourceTaxSettingsDefaults
fn from_value(v: Value) -> Option<Self>
Auto Trait Implementations§
impl Freeze for TaxProductResourceTaxSettingsDefaults
impl RefUnwindSafe for TaxProductResourceTaxSettingsDefaults
impl Send for TaxProductResourceTaxSettingsDefaults
impl Sync for TaxProductResourceTaxSettingsDefaults
impl Unpin for TaxProductResourceTaxSettingsDefaults
impl UnwindSafe for TaxProductResourceTaxSettingsDefaults
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