pub enum ReplPasswordV1 {
TPM_ARGON2ID {
m_cost: u32,
t_cost: u32,
p_cost: u32,
version: u32,
salt: Base64UrlSafeData,
key: Base64UrlSafeData,
},
ARGON2ID {
m_cost: u32,
t_cost: u32,
p_cost: u32,
version: u32,
salt: Base64UrlSafeData,
key: Base64UrlSafeData,
},
PBKDF2 {
cost: usize,
salt: Base64UrlSafeData,
hash: Base64UrlSafeData,
},
PBKDF2_SHA1 {
cost: usize,
salt: Base64UrlSafeData,
hash: Base64UrlSafeData,
},
PBKDF2_SHA512 {
cost: usize,
salt: Base64UrlSafeData,
hash: Base64UrlSafeData,
},
SHA1 {
hash: Base64UrlSafeData,
},
SSHA1 {
salt: Base64UrlSafeData,
hash: Base64UrlSafeData,
},
SHA256 {
hash: Base64UrlSafeData,
},
SSHA256 {
salt: Base64UrlSafeData,
hash: Base64UrlSafeData,
},
SHA512 {
hash: Base64UrlSafeData,
},
SSHA512 {
salt: Base64UrlSafeData,
hash: Base64UrlSafeData,
},
NT_MD4 {
hash: Base64UrlSafeData,
},
}
Variants§
TPM_ARGON2ID
ARGON2ID
PBKDF2
PBKDF2_SHA1
PBKDF2_SHA512
SHA1
Fields
§
hash: Base64UrlSafeData
SSHA1
SHA256
Fields
§
hash: Base64UrlSafeData
SSHA256
SHA512
Fields
§
hash: Base64UrlSafeData
SSHA512
NT_MD4
Fields
§
hash: Base64UrlSafeData
Trait Implementations§
source§impl Debug for ReplPasswordV1
impl Debug for ReplPasswordV1
source§impl<'de> Deserialize<'de> for ReplPasswordV1
impl<'de> Deserialize<'de> for ReplPasswordV1
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
source§impl PartialEq for ReplPasswordV1
impl PartialEq for ReplPasswordV1
source§impl Serialize for ReplPasswordV1
impl Serialize for ReplPasswordV1
source§impl TryFrom<&ReplPasswordV1> for Password
impl TryFrom<&ReplPasswordV1> for Password
impl Eq for ReplPasswordV1
impl StructuralPartialEq for ReplPasswordV1
Auto Trait Implementations§
impl Freeze for ReplPasswordV1
impl RefUnwindSafe for ReplPasswordV1
impl Send for ReplPasswordV1
impl Sync for ReplPasswordV1
impl Unpin for ReplPasswordV1
impl UnwindSafe for ReplPasswordV1
Blanket Implementations§
§impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
§impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.