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/yield>
pub const YIELD_PROPERTY_IRI_HTTP: &str = "http://schema.org/yield";
/// <https://schema.org/yield>
pub const YIELD_PROPERTY_IRI_HTTPS: &str = "https://schema.org/yield";
/// <https://schema.org/yield>
pub const YIELD_PROPERTY_LABEL: &str = "yield";
pub struct YieldPropertyIri;
impl PartialEq<&str> for YieldPropertyIri {
	fn eq(&self, other: &&str) -> bool {
		*other == YIELD_PROPERTY_IRI_HTTP || *other == YIELD_PROPERTY_IRI_HTTPS
	}
}
impl PartialEq<YieldPropertyIri> for &str {
	fn eq(&self, other: &YieldPropertyIri) -> bool {
		*self == YIELD_PROPERTY_IRI_HTTP || *self == YIELD_PROPERTY_IRI_HTTPS
	}
}
pub struct YieldPropertyIriOrLabel;
impl PartialEq<&str> for YieldPropertyIriOrLabel {
	fn eq(&self, other: &&str) -> bool {
		*other == YieldPropertyIri || *other == YIELD_PROPERTY_LABEL
	}
}
impl PartialEq<YieldPropertyIriOrLabel> for &str {
	fn eq(&self, other: &YieldPropertyIriOrLabel) -> bool {
		*self == YieldPropertyIri || *self == YIELD_PROPERTY_LABEL
	}
}