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/award>
pub const AWARD_PROPERTY_IRI_HTTP: &str = "http://schema.org/award";
/// <https://schema.org/award>
pub const AWARD_PROPERTY_IRI_HTTPS: &str = "https://schema.org/award";
/// <https://schema.org/award>
pub const AWARD_PROPERTY_LABEL: &str = "award";
pub struct AwardPropertyIri;
impl PartialEq<&str> for AwardPropertyIri {
	fn eq(&self, other: &&str) -> bool {
		*other == AWARD_PROPERTY_IRI_HTTP || *other == AWARD_PROPERTY_IRI_HTTPS
	}
}
impl PartialEq<AwardPropertyIri> for &str {
	fn eq(&self, other: &AwardPropertyIri) -> bool {
		*self == AWARD_PROPERTY_IRI_HTTP || *self == AWARD_PROPERTY_IRI_HTTPS
	}
}
pub struct AwardPropertyIriOrLabel;
impl PartialEq<&str> for AwardPropertyIriOrLabel {
	fn eq(&self, other: &&str) -> bool {
		*other == AwardPropertyIri || *other == AWARD_PROPERTY_LABEL
	}
}
impl PartialEq<AwardPropertyIriOrLabel> for &str {
	fn eq(&self, other: &AwardPropertyIriOrLabel) -> bool {
		*self == AwardPropertyIri || *self == AWARD_PROPERTY_LABEL
	}
}