Struct google_content2::api::UnitInvoiceTaxLine
source · pub struct UnitInvoiceTaxLine {
pub tax_amount: Option<Price>,
pub tax_name: Option<String>,
pub tax_type: Option<String>,
}
Expand description
There is no detailed description.
This type is not used in any activity, and only used as part of another schema.
Fields§
§tax_amount: Option<Price>
[required] Tax amount for the tax type.
tax_name: Option<String>
Optional name of the tax type. This should only be provided if taxType
is otherFeeTax
.
tax_type: Option<String>
[required] Type of the tax. Acceptable values are: - “otherFee
” - “otherFeeTax
” - “sales
”
Trait Implementations§
source§impl Clone for UnitInvoiceTaxLine
impl Clone for UnitInvoiceTaxLine
source§fn clone(&self) -> UnitInvoiceTaxLine
fn clone(&self) -> UnitInvoiceTaxLine
Returns a copy 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 UnitInvoiceTaxLine
impl Debug for UnitInvoiceTaxLine
source§impl Default for UnitInvoiceTaxLine
impl Default for UnitInvoiceTaxLine
source§fn default() -> UnitInvoiceTaxLine
fn default() -> UnitInvoiceTaxLine
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for UnitInvoiceTaxLine
impl<'de> Deserialize<'de> for UnitInvoiceTaxLine
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for UnitInvoiceTaxLine
impl Serialize for UnitInvoiceTaxLine
impl Part for UnitInvoiceTaxLine
Auto Trait Implementations§
impl RefUnwindSafe for UnitInvoiceTaxLine
impl Send for UnitInvoiceTaxLine
impl Sync for UnitInvoiceTaxLine
impl Unpin for UnitInvoiceTaxLine
impl UnwindSafe for UnitInvoiceTaxLine
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