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/smiles>
pub const SMILES_PROPERTY_IRI_HTTP: &str = "http://schema.org/smiles";
/// <https://schema.org/smiles>
pub const SMILES_PROPERTY_IRI_HTTPS: &str = "https://schema.org/smiles";
/// <https://schema.org/smiles>
pub const SMILES_PROPERTY_LABEL: &str = "smiles";
pub struct SmilesPropertyIri;
impl PartialEq<&str> for SmilesPropertyIri {
	fn eq(&self, other: &&str) -> bool {
		*other == SMILES_PROPERTY_IRI_HTTP || *other == SMILES_PROPERTY_IRI_HTTPS
	}
}
impl PartialEq<SmilesPropertyIri> for &str {
	fn eq(&self, other: &SmilesPropertyIri) -> bool {
		*self == SMILES_PROPERTY_IRI_HTTP || *self == SMILES_PROPERTY_IRI_HTTPS
	}
}
pub struct SmilesPropertyIriOrLabel;
impl PartialEq<&str> for SmilesPropertyIriOrLabel {
	fn eq(&self, other: &&str) -> bool {
		*other == SmilesPropertyIri || *other == SMILES_PROPERTY_LABEL
	}
}
impl PartialEq<SmilesPropertyIriOrLabel> for &str {
	fn eq(&self, other: &SmilesPropertyIriOrLabel) -> bool {
		*self == SmilesPropertyIri || *self == SMILES_PROPERTY_LABEL
	}
}