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/album>
pub const ALBUM_PROPERTY_IRI_HTTP: &str = "http://schema.org/album";
/// <https://schema.org/album>
pub const ALBUM_PROPERTY_IRI_HTTPS: &str = "https://schema.org/album";
/// <https://schema.org/album>
pub const ALBUM_PROPERTY_LABEL: &str = "album";
pub struct AlbumPropertyIri;
impl PartialEq<&str> for AlbumPropertyIri {
	fn eq(&self, other: &&str) -> bool {
		*other == ALBUM_PROPERTY_IRI_HTTP || *other == ALBUM_PROPERTY_IRI_HTTPS
	}
}
impl PartialEq<AlbumPropertyIri> for &str {
	fn eq(&self, other: &AlbumPropertyIri) -> bool {
		*self == ALBUM_PROPERTY_IRI_HTTP || *self == ALBUM_PROPERTY_IRI_HTTPS
	}
}
pub struct AlbumPropertyIriOrLabel;
impl PartialEq<&str> for AlbumPropertyIriOrLabel {
	fn eq(&self, other: &&str) -> bool {
		*other == AlbumPropertyIri || *other == ALBUM_PROPERTY_LABEL
	}
}
impl PartialEq<AlbumPropertyIriOrLabel> for &str {
	fn eq(&self, other: &AlbumPropertyIriOrLabel) -> bool {
		*self == AlbumPropertyIri || *self == ALBUM_PROPERTY_LABEL
	}
}