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