pub struct ReplayCandidate {
pub config: BTreeMap<String, AnalyzerConfig>,
pub policy: Option<Policy>,
}Expand description
A candidate loop configuration to score against the past.
Fields§
§config: BTreeMap<String, AnalyzerConfig>Per-analyzer configuration, keyed by full analyzer id — the same
shape set_analyzer_config stores (enabled, params,
severity_floor, namespaces). Each entry REPLACES the file’s entry
for that analyzer; analyzers not named keep the file’s config.
policy: Option<Policy>An optional host policy to replay under (severity floors, the deny
list, near_duplicate, …) instead of the engine’s. Auto-apply
grants are irrelevant — a replay applies nothing.
Implementations§
Trait Implementations§
Source§impl Clone for ReplayCandidate
impl Clone for ReplayCandidate
Source§fn clone(&self) -> ReplayCandidate
fn clone(&self) -> ReplayCandidate
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 ReplayCandidate
impl Debug for ReplayCandidate
Source§impl Default for ReplayCandidate
impl Default for ReplayCandidate
Source§fn default() -> ReplayCandidate
fn default() -> ReplayCandidate
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ReplayCandidate
impl<'de> Deserialize<'de> for ReplayCandidate
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 ReplayCandidate
impl RefUnwindSafe for ReplayCandidate
impl Send for ReplayCandidate
impl Sync for ReplayCandidate
impl Unpin for ReplayCandidate
impl UnsafeUnpin for ReplayCandidate
impl UnwindSafe for ReplayCandidate
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