pub struct MergeOutput {
pub events: BTreeMap<String, Vec<OrderedValue>>,
pub skipped_events: Vec<String>,
pub unchecked_events: Vec<String>,
pub overrides: Vec<String>,
pub skips: Vec<Skip>,
pub enabled: Option<bool>,
pub files: Vec<OutputFile>,
pub answer_limits: Vec<Skip>,
}Expand description
One merge target’s events for a hook: [hooks] rendered, with the native hook’s events
replacing the generated ones they name.
Fields§
§events: BTreeMap<String, Vec<OrderedValue>>Finished entries per native event. An event whose array is empty is turned off.
skipped_events: Vec<String>Unknown events a dependency’s native hook lists, left out of events.
unchecked_events: Vec<String>Events the target does not list that unchecked = true let through.
overrides: Vec<String>Events the native hook declares that [hooks] also declares: the native hook’s replace
the generated entries.
skips: Vec<Skip>What [hooks] leaves out here, minus the events a native hook replaces.
enabled: Option<bool>A keyed target’s enabled switch, as the native hook sets it.
files: Vec<OutputFile>Files a keyed target’s entries run, relative to the target root ([hooks] translated:
the runner’s data file).
answer_limits: Vec<Skip>Rendered events whose portable answers do not all carry over to the target.
Implementations§
Source§impl MergeOutput
impl MergeOutput
Sourcepub fn keyed_value(&self) -> Value
pub fn keyed_value(&self) -> Value
The hook as a keyed target’s file holds it: enabled, then each event with entries.