pub struct QuotesResourceAutomaticTax {
pub enabled: bool,
pub liability: Option<ConnectAccountReference>,
pub provider: Option<String>,
pub status: Option<QuotesResourceAutomaticTaxStatus>,
}
Fields§
§enabled: bool
Automatically calculate taxes
liability: Option<ConnectAccountReference>
The account that’s liable for tax. If set, the business address and tax registrations required to perform the tax calculation are loaded from this account. The tax transaction is returned in the report of the connected account.
provider: Option<String>
The tax provider powering automatic tax.
status: Option<QuotesResourceAutomaticTaxStatus>
The status of the most recent automated tax calculation for this quote.
Trait Implementations§
Source§impl Clone for QuotesResourceAutomaticTax
impl Clone for QuotesResourceAutomaticTax
Source§fn clone(&self) -> QuotesResourceAutomaticTax
fn clone(&self) -> QuotesResourceAutomaticTax
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 QuotesResourceAutomaticTax
impl Debug for QuotesResourceAutomaticTax
Source§impl FromValueOpt for QuotesResourceAutomaticTax
impl FromValueOpt for QuotesResourceAutomaticTax
fn from_value(v: Value) -> Option<Self>
Auto Trait Implementations§
impl Freeze for QuotesResourceAutomaticTax
impl RefUnwindSafe for QuotesResourceAutomaticTax
impl Send for QuotesResourceAutomaticTax
impl Sync for QuotesResourceAutomaticTax
impl Unpin for QuotesResourceAutomaticTax
impl UnwindSafe for QuotesResourceAutomaticTax
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