pub struct DeriveKey {
pub accessibility: Option<String>,
pub alg: String,
pub hash_function: Option<String>,
pub iter: i64,
pub json: Option<bool>,
pub key_len: i64,
pub mem: Option<i64>,
pub name: String,
pub parallelism: Option<i64>,
pub salt: Option<String>,
pub token: Option<String>,
pub uid_token: Option<String>,
}Fields§
§accessibility: Option<String>for personal password manager
alg: StringKdf algorithm
hash_function: Option<String>HashFunction the hash function to use (relevant for pbkdf2)
iter: i64IterationCount the number of iterations
json: Option<bool>Set output format to JSON
key_len: i64KeyLength the byte length of the generated key
mem: Option<i64>MemorySizeInKb the memory paramter in kb (relevant for argon2id)
name: StringStatic Secret full name
parallelism: Option<i64>Parallelism the number of threads to use (relevant for argon2id)
salt: Option<String>Salt Base64 encoded salt value. If not provided, the salt will be generated as part of the operation. The salt should be securely-generated random bytes, minimum 64 bits, 128 bits is recommended
token: Option<String>Authentication token (see /auth and /configure)
uid_token: Option<String>The universal identity token, Required only for universal_identity authentication
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DeriveKey
impl<'de> Deserialize<'de> for DeriveKey
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
impl StructuralPartialEq for DeriveKey
Auto Trait Implementations§
impl Freeze for DeriveKey
impl RefUnwindSafe for DeriveKey
impl Send for DeriveKey
impl Sync for DeriveKey
impl Unpin for DeriveKey
impl UnsafeUnpin for DeriveKey
impl UnwindSafe for DeriveKey
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