Struct square_api_client::models::TaxIds
source · [−]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
sourceimpl<'de> Deserialize<'de> for TaxIds
impl<'de> Deserialize<'de> for TaxIds
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>,
impl Eq for TaxIds
impl StructuralEq for TaxIds
impl StructuralPartialEq for TaxIds
Auto Trait Implementations
impl RefUnwindSafe for TaxIds
impl Send for TaxIds
impl Sync for TaxIds
impl Unpin for TaxIds
impl UnwindSafe for TaxIds
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
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.