Skip to main content

cloned_definition

Function cloned_definition 

Source
fn cloned_definition(
    id_store: &Store,
    template: &AgentDefinition,
    name: &str,
    cmd: &CommandAgentDefCreateFromTemplateData,
) -> Result<AgentDefinition, String>
Expand description

The new row: what the template keeps, with the caller’s choices applied and the opt-in settings reset.