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