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
29
30
31
/// <https://schema.org/maps>
#[deprecated = "This schema is superseded by <https://schema.org/hasMap>."]
pub const MAPS_PROPERTY_IRI_HTTP: &str = "http://schema.org/maps";
/// <https://schema.org/maps>
#[deprecated = "This schema is superseded by <https://schema.org/hasMap>."]
pub const MAPS_PROPERTY_IRI_HTTPS: &str = "https://schema.org/maps";
/// <https://schema.org/maps>
#[deprecated = "This schema is superseded by <https://schema.org/hasMap>."]
pub const MAPS_PROPERTY_LABEL: &str = "maps";
pub struct MapsPropertyIri;
impl PartialEq<&str> for MapsPropertyIri {
	fn eq(&self, other: &&str) -> bool {
		*other == MAPS_PROPERTY_IRI_HTTP || *other == MAPS_PROPERTY_IRI_HTTPS
	}
}
impl PartialEq<MapsPropertyIri> for &str {
	fn eq(&self, other: &MapsPropertyIri) -> bool {
		*self == MAPS_PROPERTY_IRI_HTTP || *self == MAPS_PROPERTY_IRI_HTTPS
	}
}
pub struct MapsPropertyIriOrLabel;
impl PartialEq<&str> for MapsPropertyIriOrLabel {
	fn eq(&self, other: &&str) -> bool {
		*other == MapsPropertyIri || *other == MAPS_PROPERTY_LABEL
	}
}
impl PartialEq<MapsPropertyIriOrLabel> for &str {
	fn eq(&self, other: &MapsPropertyIriOrLabel) -> bool {
		*self == MapsPropertyIri || *self == MAPS_PROPERTY_LABEL
	}
}