pub struct MigrateReport {
pub renamed: Vec<Rename>,
pub unknown_verbs: Vec<String>,
pub step_count: usize,
pub subflow_refs: usize,
pub unknown_selector_keys: Vec<String>,
}Expand description
Result of migrating one flow file.
Fields§
§renamed: Vec<Rename>Verbs that were successfully renamed / restructured. Keys are
original verb name; values are smix-native verb name.
unknown_verbs: Vec<String>Verbs the migrator does not recognize. They were left verbatim
in the output. Consumers should see the WARN: line at the CLI
layer.
step_count: usizeNumber of top-level steps in the flow — every step, not only the ones a rule matched.
subflow_refs: usizeNumber of runFlow invocations discovered in the flow. Not
migrated recursively (nested files are user’s responsibility).
unknown_selector_keys: Vec<String>Keys found inside selector mappings that v2’s parser refuses.
Migration used to end at verbs, so a flow carrying enabled: —
documented for a filter smix never implemented — migrated
cleanly, exited 0, and failed at parse time. Reported here so
the CLI can warn while the user is still holding the file.
Trait Implementations§
Source§impl Clone for MigrateReport
impl Clone for MigrateReport
Source§fn clone(&self) -> MigrateReport
fn clone(&self) -> MigrateReport
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more