schema_org_constants/schemas/
founding_location_property.rs

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