pub struct UpdateTaxSettingsDefaults {
pub tax_behavior: Option<UpdateTaxSettingsDefaultsTaxBehavior>,
pub tax_code: Option<String>,
}Expand description
Default configuration to be used on Stripe Tax calculations.
Fields§
§tax_behavior: Option<UpdateTaxSettingsDefaultsTaxBehavior>Specifies the default tax behavior to be used when the item’s price has unspecified tax behavior. One of inclusive, exclusive, or inferred_by_currency. Once specified, it cannot be changed back to null.
tax_code: Option<String>A tax code ID.
Implementations§
Trait Implementations§
Source§impl Clone for UpdateTaxSettingsDefaults
impl Clone for UpdateTaxSettingsDefaults
Source§fn clone(&self) -> UpdateTaxSettingsDefaults
fn clone(&self) -> UpdateTaxSettingsDefaults
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 UpdateTaxSettingsDefaults
impl Debug for UpdateTaxSettingsDefaults
Source§impl Default for UpdateTaxSettingsDefaults
impl Default for UpdateTaxSettingsDefaults
Auto Trait Implementations§
impl Freeze for UpdateTaxSettingsDefaults
impl RefUnwindSafe for UpdateTaxSettingsDefaults
impl Send for UpdateTaxSettingsDefaults
impl Sync for UpdateTaxSettingsDefaults
impl Unpin for UpdateTaxSettingsDefaults
impl UnwindSafe for UpdateTaxSettingsDefaults
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