pub enum PassportElementErrorFrontSideType {
Passport,
DriverLicense,
IdentityCard,
InternalPassport,
}
Variants§
Trait Implementations§
source§impl Clone for PassportElementErrorFrontSideType
impl Clone for PassportElementErrorFrontSideType
source§fn clone(&self) -> PassportElementErrorFrontSideType
fn clone(&self) -> PassportElementErrorFrontSideType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'de> Deserialize<'de> for PassportElementErrorFrontSideType
impl<'de> Deserialize<'de> for PassportElementErrorFrontSideType
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<PassportElementErrorFrontSideType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<PassportElementErrorFrontSideType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<PassportElementErrorFrontSideType> for PassportElementErrorFrontSideType
impl PartialEq<PassportElementErrorFrontSideType> for PassportElementErrorFrontSideType
source§fn eq(&self, other: &PassportElementErrorFrontSideType) -> bool
fn eq(&self, other: &PassportElementErrorFrontSideType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PassportElementErrorFrontSideType
impl Serialize for PassportElementErrorFrontSideType
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for PassportElementErrorFrontSideType
impl Eq for PassportElementErrorFrontSideType
impl StructuralEq for PassportElementErrorFrontSideType
impl StructuralPartialEq for PassportElementErrorFrontSideType
Auto Trait Implementations§
impl RefUnwindSafe for PassportElementErrorFrontSideType
impl Send for PassportElementErrorFrontSideType
impl Sync for PassportElementErrorFrontSideType
impl Unpin for PassportElementErrorFrontSideType
impl UnwindSafe for PassportElementErrorFrontSideType
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.