pub struct DetectionConfig<'a> {
pub app_name: &'a str,
pub brew_cask_name: Option<&'a str>,
pub custom_detectors: &'a [CustomDetector],
pub receipt_dir: Option<&'a Path>,
}Expand description
Configuration for the detection pipeline.
Fields§
§app_name: &'a strThe application name (used for receipt lookup).
brew_cask_name: Option<&'a str>Optional Homebrew cask name for brew verification.
custom_detectors: &'a [CustomDetector]Custom detectors to run before built-in detection.
receipt_dir: Option<&'a Path>Optional override for the receipt directory (defaults to platform config dir).
Auto Trait Implementations§
impl<'a> Freeze for DetectionConfig<'a>
impl<'a> !RefUnwindSafe for DetectionConfig<'a>
impl<'a> Send for DetectionConfig<'a>
impl<'a> Sync for DetectionConfig<'a>
impl<'a> Unpin for DetectionConfig<'a>
impl<'a> UnsafeUnpin for DetectionConfig<'a>
impl<'a> !UnwindSafe for DetectionConfig<'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