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/EmailMessage>
pub const EMAIL_MESSAGE_IRI_HTTP: &str = "http://schema.org/EmailMessage";
/// <https://schema.org/EmailMessage>
pub const EMAIL_MESSAGE_IRI_HTTPS: &str = "https://schema.org/EmailMessage";
/// <https://schema.org/EmailMessage>
pub const EMAIL_MESSAGE_LABEL: &str = "EmailMessage";
pub struct EmailMessageIri;
impl PartialEq<&str> for EmailMessageIri {
	fn eq(&self, other: &&str) -> bool {
		*other == EMAIL_MESSAGE_IRI_HTTP || *other == EMAIL_MESSAGE_IRI_HTTPS
	}
}
impl PartialEq<EmailMessageIri> for &str {
	fn eq(&self, other: &EmailMessageIri) -> bool {
		*self == EMAIL_MESSAGE_IRI_HTTP || *self == EMAIL_MESSAGE_IRI_HTTPS
	}
}
pub struct EmailMessageIriOrLabel;
impl PartialEq<&str> for EmailMessageIriOrLabel {
	fn eq(&self, other: &&str) -> bool {
		*other == EmailMessageIri || *other == EMAIL_MESSAGE_LABEL
	}
}
impl PartialEq<EmailMessageIriOrLabel> for &str {
	fn eq(&self, other: &EmailMessageIriOrLabel) -> bool {
		*self == EmailMessageIri || *self == EMAIL_MESSAGE_LABEL
	}
}