pub struct MemorySkillScanConfig {
pub secret_detection: SecretDetectionMode,
pub secret_detector: String,
pub allow_secret_detector_command: bool,
pub secret_detector_timeout_seconds: u64,
pub entropy_threshold: f64,
pub blocked_patterns: Vec<String>,
pub blocked_patterns_case_insensitive: bool,
}Fields§
§secret_detection: SecretDetectionMode§secret_detector: StringOptional scanner command. A non-zero exit is treated as a detected finding; best-effort mode only downgrades operational failures.
allow_secret_detector_command: bool§secret_detector_timeout_seconds: u64§entropy_threshold: f64§blocked_patterns: Vec<String>§blocked_patterns_case_insensitive: boolImplementations§
Source§impl MemorySkillScanConfig
impl MemorySkillScanConfig
pub fn effective_blocked_patterns(&self) -> Vec<String>
Trait Implementations§
Source§impl Clone for MemorySkillScanConfig
impl Clone for MemorySkillScanConfig
Source§fn clone(&self) -> MemorySkillScanConfig
fn clone(&self) -> MemorySkillScanConfig
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 MemorySkillScanConfig
impl Debug for MemorySkillScanConfig
Source§impl Default for MemorySkillScanConfig
impl Default for MemorySkillScanConfig
Source§impl<'de> Deserialize<'de> for MemorySkillScanConfigwhere
MemorySkillScanConfig: Default,
impl<'de> Deserialize<'de> for MemorySkillScanConfigwhere
MemorySkillScanConfig: Default,
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
Source§impl PartialEq for MemorySkillScanConfig
impl PartialEq for MemorySkillScanConfig
Source§fn eq(&self, other: &MemorySkillScanConfig) -> bool
fn eq(&self, other: &MemorySkillScanConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for MemorySkillScanConfig
impl Serialize for MemorySkillScanConfig
impl StructuralPartialEq for MemorySkillScanConfig
Auto Trait Implementations§
impl Freeze for MemorySkillScanConfig
impl RefUnwindSafe for MemorySkillScanConfig
impl Send for MemorySkillScanConfig
impl Sync for MemorySkillScanConfig
impl Unpin for MemorySkillScanConfig
impl UnsafeUnpin for MemorySkillScanConfig
impl UnwindSafe for MemorySkillScanConfig
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