pub struct ProtectedString { /* private fields */ }Expand description
Plain or sensitive text with redacting debug output.
Implementations§
Source§impl ProtectedString
impl ProtectedString
Trait Implementations§
Source§impl Clone for ProtectedString
impl Clone for ProtectedString
Source§fn clone(&self) -> ProtectedString
fn clone(&self) -> ProtectedString
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 ProtectedString
impl Debug for ProtectedString
impl Eq for ProtectedString
Source§impl PartialEq for ProtectedString
impl PartialEq for ProtectedString
impl StructuralPartialEq for ProtectedString
Auto Trait Implementations§
impl Freeze for ProtectedString
impl RefUnwindSafe for ProtectedString
impl Send for ProtectedString
impl Sync for ProtectedString
impl Unpin for ProtectedString
impl UnsafeUnpin for ProtectedString
impl UnwindSafe for ProtectedString
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