1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/// <https://schema.org/taxID>
pub const TAX_ID_PROPERTY_IRI_HTTP: &str = "http://schema.org/taxID";
/// <https://schema.org/taxID>
pub const TAX_ID_PROPERTY_IRI_HTTPS: &str = "https://schema.org/taxID";
/// <https://schema.org/taxID>
pub const TAX_ID_PROPERTY_LABEL: &str = "taxID";
pub struct TaxIdPropertyIri;
impl PartialEq<&str> for TaxIdPropertyIri {
	fn eq(&self, other: &&str) -> bool {
		*other == TAX_ID_PROPERTY_IRI_HTTP || *other == TAX_ID_PROPERTY_IRI_HTTPS
	}
}
impl PartialEq<TaxIdPropertyIri> for &str {
	fn eq(&self, other: &TaxIdPropertyIri) -> bool {
		*self == TAX_ID_PROPERTY_IRI_HTTP || *self == TAX_ID_PROPERTY_IRI_HTTPS
	}
}
pub struct TaxIdPropertyIriOrLabel;
impl PartialEq<&str> for TaxIdPropertyIriOrLabel {
	fn eq(&self, other: &&str) -> bool {
		*other == TaxIdPropertyIri || *other == TAX_ID_PROPERTY_LABEL
	}
}
impl PartialEq<TaxIdPropertyIriOrLabel> for &str {
	fn eq(&self, other: &TaxIdPropertyIriOrLabel) -> bool {
		*self == TaxIdPropertyIri || *self == TAX_ID_PROPERTY_LABEL
	}
}