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/Discontinued>
pub const DISCONTINUED_IRI_HTTP: &str = "http://schema.org/Discontinued";
/// <https://schema.org/Discontinued>
pub const DISCONTINUED_IRI_HTTPS: &str = "https://schema.org/Discontinued";
/// <https://schema.org/Discontinued>
pub const DISCONTINUED_LABEL: &str = "Discontinued";
pub struct DiscontinuedIri;
impl PartialEq<&str> for DiscontinuedIri {
	fn eq(&self, other: &&str) -> bool {
		*other == DISCONTINUED_IRI_HTTP || *other == DISCONTINUED_IRI_HTTPS
	}
}
impl PartialEq<DiscontinuedIri> for &str {
	fn eq(&self, other: &DiscontinuedIri) -> bool {
		*self == DISCONTINUED_IRI_HTTP || *self == DISCONTINUED_IRI_HTTPS
	}
}
pub struct DiscontinuedIriOrLabel;
impl PartialEq<&str> for DiscontinuedIriOrLabel {
	fn eq(&self, other: &&str) -> bool {
		*other == DiscontinuedIri || *other == DISCONTINUED_LABEL
	}
}
impl PartialEq<DiscontinuedIriOrLabel> for &str {
	fn eq(&self, other: &DiscontinuedIriOrLabel) -> bool {
		*self == DiscontinuedIri || *self == DISCONTINUED_LABEL
	}
}