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
/// <https://schema.org/legislationApplies>
pub const LEGISLATION_APPLIES_PROPERTY_IRI_HTTP: &str = "http://schema.org/legislationApplies";
/// <https://schema.org/legislationApplies>
pub const LEGISLATION_APPLIES_PROPERTY_IRI_HTTPS: &str = "https://schema.org/legislationApplies";
/// <https://schema.org/legislationApplies>
pub const LEGISLATION_APPLIES_PROPERTY_LABEL: &str = "legislationApplies";
pub struct LegislationAppliesPropertyIri;
impl PartialEq<&str> for LegislationAppliesPropertyIri {
	fn eq(&self, other: &&str) -> bool {
		*other == LEGISLATION_APPLIES_PROPERTY_IRI_HTTP
			|| *other == LEGISLATION_APPLIES_PROPERTY_IRI_HTTPS
	}
}
impl PartialEq<LegislationAppliesPropertyIri> for &str {
	fn eq(&self, other: &LegislationAppliesPropertyIri) -> bool {
		*self == LEGISLATION_APPLIES_PROPERTY_IRI_HTTP
			|| *self == LEGISLATION_APPLIES_PROPERTY_IRI_HTTPS
	}
}
pub struct LegislationAppliesPropertyIriOrLabel;
impl PartialEq<&str> for LegislationAppliesPropertyIriOrLabel {
	fn eq(&self, other: &&str) -> bool {
		*other == LegislationAppliesPropertyIri || *other == LEGISLATION_APPLIES_PROPERTY_LABEL
	}
}
impl PartialEq<LegislationAppliesPropertyIriOrLabel> for &str {
	fn eq(&self, other: &LegislationAppliesPropertyIriOrLabel) -> bool {
		*self == LegislationAppliesPropertyIri || *self == LEGISLATION_APPLIES_PROPERTY_LABEL
	}
}