pub struct PasswordBackupEntryDto {
pub account: String,
pub secret: Option<String>,
}Expand description
Single entry in a plaintext password backup (export/import).
Fields§
§account: StringAccount id included in the backup.
secret: Option<String>Stored secret, or None if the credential was missing at export time.
Trait Implementations§
Source§impl Clone for PasswordBackupEntryDto
impl Clone for PasswordBackupEntryDto
Source§fn clone(&self) -> PasswordBackupEntryDto
fn clone(&self) -> PasswordBackupEntryDto
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PasswordBackupEntryDto
impl Debug for PasswordBackupEntryDto
Source§impl<'de> Deserialize<'de> for PasswordBackupEntryDto
impl<'de> Deserialize<'de> for PasswordBackupEntryDto
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 PasswordBackupEntryDto
impl RefUnwindSafe for PasswordBackupEntryDto
impl Send for PasswordBackupEntryDto
impl Sync for PasswordBackupEntryDto
impl Unpin for PasswordBackupEntryDto
impl UnsafeUnpin for PasswordBackupEntryDto
impl UnwindSafe for PasswordBackupEntryDto
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