pub struct TaxIds {
pub es_nif: Option<String>,
pub eu_vat: Option<String>,
pub fr_naf: Option<String>,
pub fr_siret: Option<String>,
}
Expand description
Identifiers for the location used by various governments for tax purposes.
Fields§
§es_nif: Option<String>
The NIF (Numero de Identificacion Fiscal) number is a nine-character tax identifier used in
Spain. If it is present, it has been validated. For example, 73628495A
.
eu_vat: Option<String>
The EU VAT number for this location. For example, IE3426675K
. If the EU VAT number is
present, it is well-formed and has been validated with VIES, the VAT Information Exchange
System.
fr_naf: Option<String>
The French government uses the NAF (Nomenclature des Activités Françaises) to display and
track economic statistical data. This is also called the APE (Activite Principale de
l’Entreprise) code. For example, 6910Z
.
fr_siret: Option<String>
The SIRET (Système d’Identification du Répertoire des Entreprises et de leurs
Etablissements) number is a 14-digit code issued by the French INSEE. For example,
39922799000021
.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TaxIds
impl<'de> Deserialize<'de> for TaxIds
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>,
impl Eq for TaxIds
impl StructuralPartialEq for TaxIds
Auto Trait Implementations§
impl Freeze for TaxIds
impl RefUnwindSafe for TaxIds
impl Send for TaxIds
impl Sync for TaxIds
impl Unpin for TaxIds
impl UnwindSafe for TaxIds
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.