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/PaymentCard>
pub const PAYMENT_CARD_IRI_HTTP: &str = "http://schema.org/PaymentCard";
/// <https://schema.org/PaymentCard>
pub const PAYMENT_CARD_IRI_HTTPS: &str = "https://schema.org/PaymentCard";
/// <https://schema.org/PaymentCard>
pub const PAYMENT_CARD_LABEL: &str = "PaymentCard";
pub struct PaymentCardIri;
impl PartialEq<&str> for PaymentCardIri {
	fn eq(&self, other: &&str) -> bool {
		*other == PAYMENT_CARD_IRI_HTTP || *other == PAYMENT_CARD_IRI_HTTPS
	}
}
impl PartialEq<PaymentCardIri> for &str {
	fn eq(&self, other: &PaymentCardIri) -> bool {
		*self == PAYMENT_CARD_IRI_HTTP || *self == PAYMENT_CARD_IRI_HTTPS
	}
}
pub struct PaymentCardIriOrLabel;
impl PartialEq<&str> for PaymentCardIriOrLabel {
	fn eq(&self, other: &&str) -> bool {
		*other == PaymentCardIri || *other == PAYMENT_CARD_LABEL
	}
}
impl PartialEq<PaymentCardIriOrLabel> for &str {
	fn eq(&self, other: &PaymentCardIriOrLabel) -> bool {
		*self == PaymentCardIri || *self == PAYMENT_CARD_LABEL
	}
}