pub struct TaxWithheldComponent {
pub tax_collection_model: Option<String>,
pub taxes_withheld: Option<Vec<ChargeComponent>>,
}Expand description
TaxWithheldComponent : Information about the taxes withheld.
Fields
tax_collection_model: Option<String>The tax collection model applied to the item. Possible values: * MarketplaceFacilitator - Tax is withheld and remitted to the taxing authority by Amazon on behalf of the seller. * Standard - Tax is paid to the seller and not remitted to the taxing authority by Amazon.
taxes_withheld: Option<Vec<ChargeComponent>>A list of charge information on the seller’s account.
Implementations
sourceimpl TaxWithheldComponent
impl TaxWithheldComponent
sourcepub fn new() -> TaxWithheldComponent
pub fn new() -> TaxWithheldComponent
Information about the taxes withheld.
Trait Implementations
sourceimpl Clone for TaxWithheldComponent
impl Clone for TaxWithheldComponent
sourcefn clone(&self) -> TaxWithheldComponent
fn clone(&self) -> TaxWithheldComponent
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for TaxWithheldComponent
impl Debug for TaxWithheldComponent
sourceimpl Default for TaxWithheldComponent
impl Default for TaxWithheldComponent
sourcefn default() -> TaxWithheldComponent
fn default() -> TaxWithheldComponent
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for TaxWithheldComponent
impl<'de> Deserialize<'de> for TaxWithheldComponent
sourcefn 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
sourceimpl PartialEq<TaxWithheldComponent> for TaxWithheldComponent
impl PartialEq<TaxWithheldComponent> for TaxWithheldComponent
sourcefn eq(&self, other: &TaxWithheldComponent) -> bool
fn eq(&self, other: &TaxWithheldComponent) -> bool
sourceimpl Serialize for TaxWithheldComponent
impl Serialize for TaxWithheldComponent
impl StructuralPartialEq for TaxWithheldComponent
Auto Trait Implementations
impl RefUnwindSafe for TaxWithheldComponent
impl Send for TaxWithheldComponent
impl Sync for TaxWithheldComponent
impl Unpin for TaxWithheldComponent
impl UnwindSafe for TaxWithheldComponent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more