schema_org_constants/schemas/
anesthesia.rs1pub const ANESTHESIA_IRI_HTTP: &str = "http://schema.org/Anesthesia";
3pub const ANESTHESIA_IRI_HTTPS: &str = "https://schema.org/Anesthesia";
5pub const ANESTHESIA_LABEL: &str = "Anesthesia";
7pub struct AnesthesiaIri;
8impl PartialEq<&str> for AnesthesiaIri {
9 fn eq(&self, other: &&str) -> bool {
10 *other == ANESTHESIA_IRI_HTTP || *other == ANESTHESIA_IRI_HTTPS
11 }
12}
13impl PartialEq<AnesthesiaIri> for &str {
14 fn eq(&self, other: &AnesthesiaIri) -> bool {
15 *self == ANESTHESIA_IRI_HTTP || *self == ANESTHESIA_IRI_HTTPS
16 }
17}
18pub struct AnesthesiaIriOrLabel;
19impl PartialEq<&str> for AnesthesiaIriOrLabel {
20 fn eq(&self, other: &&str) -> bool {
21 *other == AnesthesiaIri || *other == ANESTHESIA_LABEL
22 }
23}
24impl PartialEq<AnesthesiaIriOrLabel> for &str {
25 fn eq(&self, other: &AnesthesiaIriOrLabel) -> bool {
26 *self == AnesthesiaIri || *self == ANESTHESIA_LABEL
27 }
28}