pub struct RedactedValue<'a>(/* private fields */);Expand description
A wrapper for ValueRef that implements safe Display formatting with secret redaction.
This ensures that values marked as secrets in the schema are redacted when printed, preventing accidental exposure of sensitive data in logs, error messages, and debug output.
Implementations§
Trait Implementations§
Source§impl<'a> Debug for RedactedValue<'a>
impl<'a> Debug for RedactedValue<'a>
Auto Trait Implementations§
impl<'a> Freeze for RedactedValue<'a>
impl<'a> RefUnwindSafe for RedactedValue<'a>
impl<'a> Send for RedactedValue<'a>
impl<'a> Sync for RedactedValue<'a>
impl<'a> Unpin for RedactedValue<'a>
impl<'a> UnsafeUnpin for RedactedValue<'a>
impl<'a> UnwindSafe for RedactedValue<'a>
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