pub struct TaxTable {
pub country: Country,
pub valid_from: Date,
pub codes: Vec<TaxCodeDefinition>,
}Expand description
The tax codes of one country, valid from a date – reference data, published with the protocol.
Fields§
§country: CountryThe country, ISO 3166-1 alpha-2.
valid_from: DateThe first day the table applies to.
codes: Vec<TaxCodeDefinition>The codes, each once.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TaxTable
impl<'de> Deserialize<'de> for TaxTable
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
impl Eq for TaxTable
impl StructuralPartialEq for TaxTable
Auto Trait Implementations§
impl Freeze for TaxTable
impl RefUnwindSafe for TaxTable
impl Send for TaxTable
impl Sync for TaxTable
impl Unpin for TaxTable
impl UnsafeUnpin for TaxTable
impl UnwindSafe for TaxTable
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