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/streetAddress>
pub const STREET_ADDRESS_PROPERTY_IRI_HTTP: &str = "http://schema.org/streetAddress";
/// <https://schema.org/streetAddress>
pub const STREET_ADDRESS_PROPERTY_IRI_HTTPS: &str = "https://schema.org/streetAddress";
/// <https://schema.org/streetAddress>
pub const STREET_ADDRESS_PROPERTY_LABEL: &str = "streetAddress";
pub struct StreetAddressPropertyIri;
impl PartialEq<&str> for StreetAddressPropertyIri {
	fn eq(&self, other: &&str) -> bool {
		*other == STREET_ADDRESS_PROPERTY_IRI_HTTP || *other == STREET_ADDRESS_PROPERTY_IRI_HTTPS
	}
}
impl PartialEq<StreetAddressPropertyIri> for &str {
	fn eq(&self, other: &StreetAddressPropertyIri) -> bool {
		*self == STREET_ADDRESS_PROPERTY_IRI_HTTP || *self == STREET_ADDRESS_PROPERTY_IRI_HTTPS
	}
}
pub struct StreetAddressPropertyIriOrLabel;
impl PartialEq<&str> for StreetAddressPropertyIriOrLabel {
	fn eq(&self, other: &&str) -> bool {
		*other == StreetAddressPropertyIri || *other == STREET_ADDRESS_PROPERTY_LABEL
	}
}
impl PartialEq<StreetAddressPropertyIriOrLabel> for &str {
	fn eq(&self, other: &StreetAddressPropertyIriOrLabel) -> bool {
		*self == StreetAddressPropertyIri || *self == STREET_ADDRESS_PROPERTY_LABEL
	}
}