pub struct OwnerPassword(pub String);Expand description
Owner password
§Security
Implements Zeroize and ZeroizeOnDrop to ensure password is cleared from memory.
Tuple Fields§
§0: StringTrait Implementations§
Source§impl Clone for OwnerPassword
impl Clone for OwnerPassword
Source§fn clone(&self) -> OwnerPassword
fn clone(&self) -> OwnerPassword
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 OwnerPassword
impl Debug for OwnerPassword
Source§impl Drop for OwnerPassword
impl Drop for OwnerPassword
Auto Trait Implementations§
impl Freeze for OwnerPassword
impl RefUnwindSafe for OwnerPassword
impl Send for OwnerPassword
impl Sync for OwnerPassword
impl Unpin for OwnerPassword
impl UnsafeUnpin for OwnerPassword
impl UnwindSafe for OwnerPassword
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