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