schema_org_constants/schemas/
status_property.rs

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