pub enum SecureValueType {
Show 13 variants
PersonalDetails,
Passport,
DriverLicense,
IdentityCard,
InternalPassport,
Address,
UtilityBill,
BankStatement,
RentalAgreement,
PassportRegistration,
TemporaryRegistration,
Phone,
Email,
}Expand description
Variants§
PersonalDetails
Passport
DriverLicense
IdentityCard
InternalPassport
Address
UtilityBill
BankStatement
RentalAgreement
PassportRegistration
TemporaryRegistration
Phone
Trait Implementations§
Source§impl Clone for SecureValueType
impl Clone for SecureValueType
Source§fn clone(&self) -> SecureValueType
fn clone(&self) -> SecureValueType
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 SecureValueType
impl Debug for SecureValueType
Source§impl Deserializable for SecureValueType
impl Deserializable for SecureValueType
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<SecureValueTypeAddress> for SecureValueType
impl From<SecureValueTypeAddress> for SecureValueType
Source§fn from(_x: SecureValueTypeAddress) -> Self
fn from(_x: SecureValueTypeAddress) -> Self
Converts to this type from the input type.
Source§impl From<SecureValueTypeBankStatement> for SecureValueType
impl From<SecureValueTypeBankStatement> for SecureValueType
Source§fn from(_x: SecureValueTypeBankStatement) -> Self
fn from(_x: SecureValueTypeBankStatement) -> Self
Converts to this type from the input type.
Source§impl From<SecureValueTypeDriverLicense> for SecureValueType
impl From<SecureValueTypeDriverLicense> for SecureValueType
Source§fn from(_x: SecureValueTypeDriverLicense) -> Self
fn from(_x: SecureValueTypeDriverLicense) -> Self
Converts to this type from the input type.
Source§impl From<SecureValueTypeEmail> for SecureValueType
impl From<SecureValueTypeEmail> for SecureValueType
Source§fn from(_x: SecureValueTypeEmail) -> Self
fn from(_x: SecureValueTypeEmail) -> Self
Converts to this type from the input type.
Source§impl From<SecureValueTypeIdentityCard> for SecureValueType
impl From<SecureValueTypeIdentityCard> for SecureValueType
Source§fn from(_x: SecureValueTypeIdentityCard) -> Self
fn from(_x: SecureValueTypeIdentityCard) -> Self
Converts to this type from the input type.
Source§impl From<SecureValueTypeInternalPassport> for SecureValueType
impl From<SecureValueTypeInternalPassport> for SecureValueType
Source§fn from(_x: SecureValueTypeInternalPassport) -> Self
fn from(_x: SecureValueTypeInternalPassport) -> Self
Converts to this type from the input type.
Source§impl From<SecureValueTypePassport> for SecureValueType
impl From<SecureValueTypePassport> for SecureValueType
Source§fn from(_x: SecureValueTypePassport) -> Self
fn from(_x: SecureValueTypePassport) -> Self
Converts to this type from the input type.
Source§impl From<SecureValueTypePassportRegistration> for SecureValueType
impl From<SecureValueTypePassportRegistration> for SecureValueType
Source§fn from(_x: SecureValueTypePassportRegistration) -> Self
fn from(_x: SecureValueTypePassportRegistration) -> Self
Converts to this type from the input type.
Source§impl From<SecureValueTypePersonalDetails> for SecureValueType
impl From<SecureValueTypePersonalDetails> for SecureValueType
Source§fn from(_x: SecureValueTypePersonalDetails) -> Self
fn from(_x: SecureValueTypePersonalDetails) -> Self
Converts to this type from the input type.
Source§impl From<SecureValueTypePhone> for SecureValueType
impl From<SecureValueTypePhone> for SecureValueType
Source§fn from(_x: SecureValueTypePhone) -> Self
fn from(_x: SecureValueTypePhone) -> Self
Converts to this type from the input type.
Source§impl From<SecureValueTypeRentalAgreement> for SecureValueType
impl From<SecureValueTypeRentalAgreement> for SecureValueType
Source§fn from(_x: SecureValueTypeRentalAgreement) -> Self
fn from(_x: SecureValueTypeRentalAgreement) -> Self
Converts to this type from the input type.
Source§impl From<SecureValueTypeTemporaryRegistration> for SecureValueType
impl From<SecureValueTypeTemporaryRegistration> for SecureValueType
Source§fn from(_x: SecureValueTypeTemporaryRegistration) -> Self
fn from(_x: SecureValueTypeTemporaryRegistration) -> Self
Converts to this type from the input type.
Source§impl From<SecureValueTypeUtilityBill> for SecureValueType
impl From<SecureValueTypeUtilityBill> for SecureValueType
Source§fn from(_x: SecureValueTypeUtilityBill) -> Self
fn from(_x: SecureValueTypeUtilityBill) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SecureValueType
impl PartialEq for SecureValueType
Source§impl Serializable for SecureValueType
impl Serializable for SecureValueType
impl StructuralPartialEq for SecureValueType
Auto Trait Implementations§
impl Freeze for SecureValueType
impl RefUnwindSafe for SecureValueType
impl Send for SecureValueType
impl Sync for SecureValueType
impl Unpin for SecureValueType
impl UnsafeUnpin for SecureValueType
impl UnwindSafe for SecureValueType
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