pub struct AnalyzeOptionDescriptor {
pub path: &'static str,
pub default_value: &'static str,
pub value_type: &'static str,
pub affects: &'static str,
pub description: &'static str,
pub increasing: Option<&'static str>,
pub decreasing: Option<&'static str>,
}Expand description
Human-readable metadata for one semantic analyzer option path.
Fields§
§path: &'static strStable analyzer option path name.
default_value: &'static strDefault value string for this option path.
value_type: &'static strRust type name for this option value.
affects: &'static strShort label describing which triage heuristic area this option affects.
description: &'static strBounded explanation of this option’s role in suspect ranking heuristics.
increasing: Option<&'static str>Effect summary when this threshold increases, if directional wording applies.
decreasing: Option<&'static str>Effect summary when this threshold decreases, if directional wording applies.
Implementations§
Trait Implementations§
Source§impl Clone for AnalyzeOptionDescriptor
impl Clone for AnalyzeOptionDescriptor
Source§fn clone(&self) -> AnalyzeOptionDescriptor
fn clone(&self) -> AnalyzeOptionDescriptor
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 AnalyzeOptionDescriptor
impl Debug for AnalyzeOptionDescriptor
impl Eq for AnalyzeOptionDescriptor
Source§impl PartialEq for AnalyzeOptionDescriptor
impl PartialEq for AnalyzeOptionDescriptor
Source§fn eq(&self, other: &AnalyzeOptionDescriptor) -> bool
fn eq(&self, other: &AnalyzeOptionDescriptor) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AnalyzeOptionDescriptor
impl Serialize for AnalyzeOptionDescriptor
impl StructuralPartialEq for AnalyzeOptionDescriptor
Auto Trait Implementations§
impl Freeze for AnalyzeOptionDescriptor
impl RefUnwindSafe for AnalyzeOptionDescriptor
impl Send for AnalyzeOptionDescriptor
impl Sync for AnalyzeOptionDescriptor
impl Unpin for AnalyzeOptionDescriptor
impl UnsafeUnpin for AnalyzeOptionDescriptor
impl UnwindSafe for AnalyzeOptionDescriptor
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.