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/Permit>
pub const PERMIT_IRI_HTTP: &str = "http://schema.org/Permit";
/// <https://schema.org/Permit>
pub const PERMIT_IRI_HTTPS: &str = "https://schema.org/Permit";
/// <https://schema.org/Permit>
pub const PERMIT_LABEL: &str = "Permit";
pub struct PermitIri;
impl PartialEq<&str> for PermitIri {
	fn eq(&self, other: &&str) -> bool {
		*other == PERMIT_IRI_HTTP || *other == PERMIT_IRI_HTTPS
	}
}
impl PartialEq<PermitIri> for &str {
	fn eq(&self, other: &PermitIri) -> bool {
		*self == PERMIT_IRI_HTTP || *self == PERMIT_IRI_HTTPS
	}
}
pub struct PermitIriOrLabel;
impl PartialEq<&str> for PermitIriOrLabel {
	fn eq(&self, other: &&str) -> bool {
		*other == PermitIri || *other == PERMIT_LABEL
	}
}
impl PartialEq<PermitIriOrLabel> for &str {
	fn eq(&self, other: &PermitIriOrLabel) -> bool {
		*self == PermitIri || *self == PERMIT_LABEL
	}
}