pub fn names_to_invocation(names: Vec<&str>) -> Vec<Invocation> {
    names
        .iter()
        .map(|s| Invocation { name: Some(s.to_string()), tag: None, ..Invocation::EMPTY })
        .collect()
}
/// Helper method to convert names to `Invocation`.
Helper method to convert names to `Invocation`.
Helper method to convert names to ` Invocation ` .
pub fn names_to_invocation(names: Vec<&str>) -> Vec<Invocation> {
    names
        .iter()
        .map(|s| Invocation { name: Some(s.to_string()), tag: None, ..Invocation::EMPTY })
        .collect()
}
pub fn names_to_invocation ( names : Vec < & str > ) -> Vec < Invocation > { names . iter ( ) . map ( | s | Invocation { name : Some ( s . to_string ( ) ) , tag : None , .. Invocation :: EMPTY } ) . collect ( ) }
Helper method to convert names to `Invocation`.
Helper method to convert names to ` Invocation ` .
names
Vec<&str>
names
Vec<&str>