pub struct ClassifierEntry {
pub yaml_path: &'static str,
pub aliases: &'static [&'static str],
pub support_level: SupportLevel,
pub pipeline_affinity: PipelineAffinity,
pub default: Option<&'static str>,
}Expand description
Slim per-key data generated at build time for the classifier.
Carries only what the classifier needs: enough to look up a key, determine its support level, check whether a value is the default, and report which pipelines are affected.
Fields§
§yaml_path: &'static strCanonical dot-separated YAML path.
aliases: &'static [&'static str]Additional YAML paths (aliases) that resolve to this key.
support_level: SupportLevelHow well saluki supports this key.
pipeline_affinity: PipelineAffinityWhich pipelines this key affects.
default: Option<&'static str>JSON-encoded default value from the Agent schema, if present.
Auto Trait Implementations§
impl Freeze for ClassifierEntry
impl RefUnwindSafe for ClassifierEntry
impl Send for ClassifierEntry
impl Sync for ClassifierEntry
impl Unpin for ClassifierEntry
impl UnsafeUnpin for ClassifierEntry
impl UnwindSafe for ClassifierEntry
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