schema_org_constants/schemas/
how_it_works_health_aspect.rs

1/// <https://schema.org/HowItWorksHealthAspect>
2pub const HOW_IT_WORKS_HEALTH_ASPECT_IRI_HTTP: &str = "http://schema.org/HowItWorksHealthAspect";
3/// <https://schema.org/HowItWorksHealthAspect>
4pub const HOW_IT_WORKS_HEALTH_ASPECT_IRI_HTTPS: &str = "https://schema.org/HowItWorksHealthAspect";
5/// <https://schema.org/HowItWorksHealthAspect>
6pub 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}