pub struct TaxCollection {
pub model: Option<Model>,
pub responsible_party: Option<ResponsibleParty>,
}Expand description
TaxCollection : Information about withheld taxes.
Fields§
§model: Option<Model>The tax collection model applied to the item.
responsible_party: Option<ResponsibleParty>The party responsible for withholding the taxes and remitting them to the taxing authority.
Implementations§
Source§impl TaxCollection
impl TaxCollection
Sourcepub fn new() -> TaxCollection
pub fn new() -> TaxCollection
Information about withheld taxes.
Trait Implementations§
Source§impl Clone for TaxCollection
impl Clone for TaxCollection
Source§fn clone(&self) -> TaxCollection
fn clone(&self) -> TaxCollection
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 TaxCollection
impl Debug for TaxCollection
Source§impl Default for TaxCollection
impl Default for TaxCollection
Source§fn default() -> TaxCollection
fn default() -> TaxCollection
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TaxCollection
impl<'de> Deserialize<'de> for TaxCollection
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 PartialEq for TaxCollection
impl PartialEq for TaxCollection
Source§impl Serialize for TaxCollection
impl Serialize for TaxCollection
impl StructuralPartialEq for TaxCollection
Auto Trait Implementations§
impl Freeze for TaxCollection
impl RefUnwindSafe for TaxCollection
impl Send for TaxCollection
impl Sync for TaxCollection
impl Unpin for TaxCollection
impl UnwindSafe for TaxCollection
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