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
/// <https://schema.org/legislationDate>
pub const LEGISLATION_DATE_PROPERTY_IRI_HTTP: &str = "http://schema.org/legislationDate";
/// <https://schema.org/legislationDate>
pub const LEGISLATION_DATE_PROPERTY_IRI_HTTPS: &str = "https://schema.org/legislationDate";
/// <https://schema.org/legislationDate>
pub const LEGISLATION_DATE_PROPERTY_LABEL: &str = "legislationDate";
pub struct LegislationDatePropertyIri;
impl PartialEq<&str> for LegislationDatePropertyIri {
	fn eq(&self, other: &&str) -> bool {
		*other == LEGISLATION_DATE_PROPERTY_IRI_HTTP
			|| *other == LEGISLATION_DATE_PROPERTY_IRI_HTTPS
	}
}
impl PartialEq<LegislationDatePropertyIri> for &str {
	fn eq(&self, other: &LegislationDatePropertyIri) -> bool {
		*self == LEGISLATION_DATE_PROPERTY_IRI_HTTP || *self == LEGISLATION_DATE_PROPERTY_IRI_HTTPS
	}
}
pub struct LegislationDatePropertyIriOrLabel;
impl PartialEq<&str> for LegislationDatePropertyIriOrLabel {
	fn eq(&self, other: &&str) -> bool {
		*other == LegislationDatePropertyIri || *other == LEGISLATION_DATE_PROPERTY_LABEL
	}
}
impl PartialEq<LegislationDatePropertyIriOrLabel> for &str {
	fn eq(&self, other: &LegislationDatePropertyIriOrLabel) -> bool {
		*self == LegislationDatePropertyIri || *self == LEGISLATION_DATE_PROPERTY_LABEL
	}
}