pub struct SecretRedactionPolicy { /* private fields */ }Expand description
Conservative redactor for common secret assignments plus host literals.
Implementations§
Source§impl SecretRedactionPolicy
impl SecretRedactionPolicy
Sourcepub fn new(
literals: impl IntoIterator<Item = String>,
) -> Result<Self, PluginError>
pub fn new( literals: impl IntoIterator<Item = String>, ) -> Result<Self, PluginError>
Creates a policy with bounded, non-empty literal secrets to remove.
Trait Implementations§
Source§impl Clone for SecretRedactionPolicy
impl Clone for SecretRedactionPolicy
Source§fn clone(&self) -> SecretRedactionPolicy
fn clone(&self) -> SecretRedactionPolicy
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 SecretRedactionPolicy
impl Debug for SecretRedactionPolicy
Source§impl Default for SecretRedactionPolicy
impl Default for SecretRedactionPolicy
Source§fn default() -> SecretRedactionPolicy
fn default() -> SecretRedactionPolicy
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SecretRedactionPolicy
impl RefUnwindSafe for SecretRedactionPolicy
impl Send for SecretRedactionPolicy
impl Sync for SecretRedactionPolicy
impl Unpin for SecretRedactionPolicy
impl UnsafeUnpin for SecretRedactionPolicy
impl UnwindSafe for SecretRedactionPolicy
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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