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/athlete>
pub const ATHLETE_PROPERTY_IRI_HTTP: &str = "http://schema.org/athlete";
/// <https://schema.org/athlete>
pub const ATHLETE_PROPERTY_IRI_HTTPS: &str = "https://schema.org/athlete";
/// <https://schema.org/athlete>
pub const ATHLETE_PROPERTY_LABEL: &str = "athlete";
pub struct AthletePropertyIri;
impl PartialEq<&str> for AthletePropertyIri {
	fn eq(&self, other: &&str) -> bool {
		*other == ATHLETE_PROPERTY_IRI_HTTP || *other == ATHLETE_PROPERTY_IRI_HTTPS
	}
}
impl PartialEq<AthletePropertyIri> for &str {
	fn eq(&self, other: &AthletePropertyIri) -> bool {
		*self == ATHLETE_PROPERTY_IRI_HTTP || *self == ATHLETE_PROPERTY_IRI_HTTPS
	}
}
pub struct AthletePropertyIriOrLabel;
impl PartialEq<&str> for AthletePropertyIriOrLabel {
	fn eq(&self, other: &&str) -> bool {
		*other == AthletePropertyIri || *other == ATHLETE_PROPERTY_LABEL
	}
}
impl PartialEq<AthletePropertyIriOrLabel> for &str {
	fn eq(&self, other: &AthletePropertyIriOrLabel) -> bool {
		*self == AthletePropertyIri || *self == ATHLETE_PROPERTY_LABEL
	}
}