pub struct TaxSettings {
pub defaults: TaxProductResourceTaxSettingsDefaults,
pub head_office: Option<TaxProductResourceTaxSettingsHeadOffice>,
pub livemode: bool,
pub status: TaxSettingsStatus,
pub status_details: TaxProductResourceTaxSettingsStatusDetails,
}
Expand description
You can use Tax Settings
to manage configurations used by Stripe Tax calculations.
Related guide: Using the Settings API
For more details see <https://stripe.com/docs/api/tax/settings/object>.
Fields§
§defaults: TaxProductResourceTaxSettingsDefaults
§head_office: Option<TaxProductResourceTaxSettingsHeadOffice>
The place where your business is located.
livemode: bool
Has the value true
if the object exists in live mode or the value false
if the object exists in test mode.
status: TaxSettingsStatus
The status of the Tax Settings
.
status_details: TaxProductResourceTaxSettingsStatusDetails
Trait Implementations§
Source§impl Clone for TaxSettings
impl Clone for TaxSettings
Source§fn clone(&self) -> TaxSettings
fn clone(&self) -> TaxSettings
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 TaxSettings
impl Debug for TaxSettings
Source§impl Deserialize for TaxSettings
impl Deserialize for TaxSettings
Source§impl FromValueOpt for TaxSettings
impl FromValueOpt for TaxSettings
fn from_value(v: Value) -> Option<Self>
Source§impl ObjectDeser for TaxSettings
impl ObjectDeser for TaxSettings
Auto Trait Implementations§
impl Freeze for TaxSettings
impl RefUnwindSafe for TaxSettings
impl Send for TaxSettings
impl Sync for TaxSettings
impl Unpin for TaxSettings
impl UnwindSafe for TaxSettings
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