pub struct EncryptedCredentials {
pub version: u32,
pub salt: String,
pub credentials: HashMap<String, EncryptedToken>,
}Expand description
Encrypted credential storage format
Fields§
§version: u32Format version for future compatibility
salt: StringBase64-encoded salt used for key derivation
credentials: HashMap<String, EncryptedToken>Map of account name to encrypted token
Trait Implementations§
Source§impl Debug for EncryptedCredentials
impl Debug for EncryptedCredentials
Source§impl Default for EncryptedCredentials
impl Default for EncryptedCredentials
Source§impl<'de> Deserialize<'de> for EncryptedCredentials
impl<'de> Deserialize<'de> for EncryptedCredentials
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 EncryptedCredentials
impl RefUnwindSafe for EncryptedCredentials
impl Send for EncryptedCredentials
impl Sync for EncryptedCredentials
impl Unpin for EncryptedCredentials
impl UnsafeUnpin for EncryptedCredentials
impl UnwindSafe for EncryptedCredentials
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