pub struct SecretPattern {
pub name: String,
pub pattern: String,
pub replacement: String,
}Expand description
A secret pattern definition.
Fields§
§name: StringPattern name (e.g., “AWS_ACCESS_KEY”)
pattern: StringRegex pattern
replacement: StringReplacement text for redaction
Trait Implementations§
Source§impl Clone for SecretPattern
impl Clone for SecretPattern
Source§fn clone(&self) -> SecretPattern
fn clone(&self) -> SecretPattern
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SecretPattern
impl RefUnwindSafe for SecretPattern
impl Send for SecretPattern
impl Sync for SecretPattern
impl Unpin for SecretPattern
impl UnwindSafe for SecretPattern
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