pub enum ExpirationDate {
NotExpired,
Expired,
NoData,
}Expand description
A description of whether the associated document was expired when the verification was performed.
Note: In the case where an expiration date is not present on the document or failed to be extracted, this value will be no_data.
Variants§
Trait Implementations§
Source§impl Clone for ExpirationDate
impl Clone for ExpirationDate
Source§fn clone(&self) -> ExpirationDate
fn clone(&self) -> ExpirationDate
Returns a duplicate 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 Debug for ExpirationDate
impl Debug for ExpirationDate
Source§impl<'de> Deserialize<'de> for ExpirationDate
impl<'de> Deserialize<'de> for ExpirationDate
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ExpirationDate
impl RefUnwindSafe for ExpirationDate
impl Send for ExpirationDate
impl Sync for ExpirationDate
impl Unpin for ExpirationDate
impl UnwindSafe for ExpirationDate
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more