schema_org_constants/schemas/
how_it_works_health_aspect.rs1pub const HOW_IT_WORKS_HEALTH_ASPECT_IRI_HTTP: &str = "http://schema.org/HowItWorksHealthAspect";
3pub const HOW_IT_WORKS_HEALTH_ASPECT_IRI_HTTPS: &str = "https://schema.org/HowItWorksHealthAspect";
5pub const HOW_IT_WORKS_HEALTH_ASPECT_LABEL: &str = "HowItWorksHealthAspect";
7pub struct HowItWorksHealthAspectIri;
8impl PartialEq<&str> for HowItWorksHealthAspectIri {
9 fn eq(&self, other: &&str) -> bool {
10 *other == HOW_IT_WORKS_HEALTH_ASPECT_IRI_HTTP
11 || *other == HOW_IT_WORKS_HEALTH_ASPECT_IRI_HTTPS
12 }
13}
14impl PartialEq<HowItWorksHealthAspectIri> for &str {
15 fn eq(&self, other: &HowItWorksHealthAspectIri) -> bool {
16 *self == HOW_IT_WORKS_HEALTH_ASPECT_IRI_HTTP
17 || *self == HOW_IT_WORKS_HEALTH_ASPECT_IRI_HTTPS
18 }
19}
20pub struct HowItWorksHealthAspectIriOrLabel;
21impl PartialEq<&str> for HowItWorksHealthAspectIriOrLabel {
22 fn eq(&self, other: &&str) -> bool {
23 *other == HowItWorksHealthAspectIri || *other == HOW_IT_WORKS_HEALTH_ASPECT_LABEL
24 }
25}
26impl PartialEq<HowItWorksHealthAspectIriOrLabel> for &str {
27 fn eq(&self, other: &HowItWorksHealthAspectIriOrLabel) -> bool {
28 *self == HowItWorksHealthAspectIri || *self == HOW_IT_WORKS_HEALTH_ASPECT_LABEL
29 }
30}