schema_org_constants/schemas/
publication_issue.rs1pub const PUBLICATION_ISSUE_IRI_HTTP: &str = "http://schema.org/PublicationIssue";
3pub const PUBLICATION_ISSUE_IRI_HTTPS: &str = "https://schema.org/PublicationIssue";
5pub const PUBLICATION_ISSUE_LABEL: &str = "PublicationIssue";
7pub struct PublicationIssueIri;
8impl PartialEq<&str> for PublicationIssueIri {
9 fn eq(&self, other: &&str) -> bool {
10 *other == PUBLICATION_ISSUE_IRI_HTTP || *other == PUBLICATION_ISSUE_IRI_HTTPS
11 }
12}
13impl PartialEq<PublicationIssueIri> for &str {
14 fn eq(&self, other: &PublicationIssueIri) -> bool {
15 *self == PUBLICATION_ISSUE_IRI_HTTP || *self == PUBLICATION_ISSUE_IRI_HTTPS
16 }
17}
18pub struct PublicationIssueIriOrLabel;
19impl PartialEq<&str> for PublicationIssueIriOrLabel {
20 fn eq(&self, other: &&str) -> bool {
21 *other == PublicationIssueIri || *other == PUBLICATION_ISSUE_LABEL
22 }
23}
24impl PartialEq<PublicationIssueIriOrLabel> for &str {
25 fn eq(&self, other: &PublicationIssueIriOrLabel) -> bool {
26 *self == PublicationIssueIri || *self == PUBLICATION_ISSUE_LABEL
27 }
28}