schema_org_constants/schemas/
activate_action.rs

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