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/Syllabus>
pub const SYLLABUS_IRI_HTTP: &str = "http://schema.org/Syllabus";
/// <https://schema.org/Syllabus>
pub const SYLLABUS_IRI_HTTPS: &str = "https://schema.org/Syllabus";
/// <https://schema.org/Syllabus>
pub const SYLLABUS_LABEL: &str = "Syllabus";
pub struct SyllabusIri;
impl PartialEq<&str> for SyllabusIri {
	fn eq(&self, other: &&str) -> bool {
		*other == SYLLABUS_IRI_HTTP || *other == SYLLABUS_IRI_HTTPS
	}
}
impl PartialEq<SyllabusIri> for &str {
	fn eq(&self, other: &SyllabusIri) -> bool {
		*self == SYLLABUS_IRI_HTTP || *self == SYLLABUS_IRI_HTTPS
	}
}
pub struct SyllabusIriOrLabel;
impl PartialEq<&str> for SyllabusIriOrLabel {
	fn eq(&self, other: &&str) -> bool {
		*other == SyllabusIri || *other == SYLLABUS_LABEL
	}
}
impl PartialEq<SyllabusIriOrLabel> for &str {
	fn eq(&self, other: &SyllabusIriOrLabel) -> bool {
		*self == SyllabusIri || *self == SYLLABUS_LABEL
	}
}