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/DemoAlbum>
pub const DEMO_ALBUM_IRI_HTTP: &str = "http://schema.org/DemoAlbum";
/// <https://schema.org/DemoAlbum>
pub const DEMO_ALBUM_IRI_HTTPS: &str = "https://schema.org/DemoAlbum";
/// <https://schema.org/DemoAlbum>
pub const DEMO_ALBUM_LABEL: &str = "DemoAlbum";
pub struct DemoAlbumIri;
impl PartialEq<&str> for DemoAlbumIri {
	fn eq(&self, other: &&str) -> bool {
		*other == DEMO_ALBUM_IRI_HTTP || *other == DEMO_ALBUM_IRI_HTTPS
	}
}
impl PartialEq<DemoAlbumIri> for &str {
	fn eq(&self, other: &DemoAlbumIri) -> bool {
		*self == DEMO_ALBUM_IRI_HTTP || *self == DEMO_ALBUM_IRI_HTTPS
	}
}
pub struct DemoAlbumIriOrLabel;
impl PartialEq<&str> for DemoAlbumIriOrLabel {
	fn eq(&self, other: &&str) -> bool {
		*other == DemoAlbumIri || *other == DEMO_ALBUM_LABEL
	}
}
impl PartialEq<DemoAlbumIriOrLabel> for &str {
	fn eq(&self, other: &DemoAlbumIriOrLabel) -> bool {
		*self == DemoAlbumIri || *self == DEMO_ALBUM_LABEL
	}
}