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/trailer>
pub const TRAILER_PROPERTY_IRI_HTTP: &str = "http://schema.org/trailer";
/// <https://schema.org/trailer>
pub const TRAILER_PROPERTY_IRI_HTTPS: &str = "https://schema.org/trailer";
/// <https://schema.org/trailer>
pub const TRAILER_PROPERTY_LABEL: &str = "trailer";
pub struct TrailerPropertyIri;
impl PartialEq<&str> for TrailerPropertyIri {
	fn eq(&self, other: &&str) -> bool {
		*other == TRAILER_PROPERTY_IRI_HTTP || *other == TRAILER_PROPERTY_IRI_HTTPS
	}
}
impl PartialEq<TrailerPropertyIri> for &str {
	fn eq(&self, other: &TrailerPropertyIri) -> bool {
		*self == TRAILER_PROPERTY_IRI_HTTP || *self == TRAILER_PROPERTY_IRI_HTTPS
	}
}
pub struct TrailerPropertyIriOrLabel;
impl PartialEq<&str> for TrailerPropertyIriOrLabel {
	fn eq(&self, other: &&str) -> bool {
		*other == TrailerPropertyIri || *other == TRAILER_PROPERTY_LABEL
	}
}
impl PartialEq<TrailerPropertyIriOrLabel> for &str {
	fn eq(&self, other: &TrailerPropertyIriOrLabel) -> bool {
		*self == TrailerPropertyIri || *self == TRAILER_PROPERTY_LABEL
	}
}