pub struct SecretPatternConfig {
pub label: String,
pub pattern: String,
}Expand description
A custom secret pattern (label + regex).
Fields§
§label: StringHuman-readable label for the secret type.
pattern: StringRegex pattern to match.
Trait Implementations§
Source§impl Clone for SecretPatternConfig
impl Clone for SecretPatternConfig
Source§fn clone(&self) -> SecretPatternConfig
fn clone(&self) -> SecretPatternConfig
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 SecretPatternConfig
impl Debug for SecretPatternConfig
Source§impl<'de> Deserialize<'de> for SecretPatternConfig
impl<'de> Deserialize<'de> for SecretPatternConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SecretPatternConfig
impl RefUnwindSafe for SecretPatternConfig
impl Send for SecretPatternConfig
impl Sync for SecretPatternConfig
impl Unpin for SecretPatternConfig
impl UnsafeUnpin for SecretPatternConfig
impl UnwindSafe for SecretPatternConfig
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