schema_org_constants/schemas/
guide.rs

1/// <https://schema.org/Guide>
2pub const GUIDE_IRI_HTTP: &str = "http://schema.org/Guide";
3/// <https://schema.org/Guide>
4pub const GUIDE_IRI_HTTPS: &str = "https://schema.org/Guide";
5/// <https://schema.org/Guide>
6pub const GUIDE_LABEL: &str = "Guide";
7pub struct GuideIri;
8impl PartialEq<&str> for GuideIri {
9	fn eq(&self, other: &&str) -> bool {
10		*other == GUIDE_IRI_HTTP || *other == GUIDE_IRI_HTTPS
11	}
12}
13impl PartialEq<GuideIri> for &str {
14	fn eq(&self, other: &GuideIri) -> bool {
15		*self == GUIDE_IRI_HTTP || *self == GUIDE_IRI_HTTPS
16	}
17}
18pub struct GuideIriOrLabel;
19impl PartialEq<&str> for GuideIriOrLabel {
20	fn eq(&self, other: &&str) -> bool {
21		*other == GuideIri || *other == GUIDE_LABEL
22	}
23}
24impl PartialEq<GuideIriOrLabel> for &str {
25	fn eq(&self, other: &GuideIriOrLabel) -> bool {
26		*self == GuideIri || *self == GUIDE_LABEL
27	}
28}