pub struct PasswordEntryDto {
pub account: String,
pub secret: String,
}Expand description
One row for the bulk set passwords IPC command (account + plaintext secret).
Fields§
§account: StringLogical account id (often prefix.name from crate::join_prefix).
secret: StringSecret value to store (plaintext over IPC — see README security notes).
Trait Implementations§
Source§impl Clone for PasswordEntryDto
impl Clone for PasswordEntryDto
Source§fn clone(&self) -> PasswordEntryDto
fn clone(&self) -> PasswordEntryDto
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 PasswordEntryDto
impl Debug for PasswordEntryDto
Source§impl<'de> Deserialize<'de> for PasswordEntryDto
impl<'de> Deserialize<'de> for PasswordEntryDto
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 PasswordEntryDto
impl RefUnwindSafe for PasswordEntryDto
impl Send for PasswordEntryDto
impl Sync for PasswordEntryDto
impl Unpin for PasswordEntryDto
impl UnsafeUnpin for PasswordEntryDto
impl UnwindSafe for PasswordEntryDto
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