Skip to main content

has_named_params

Function has_named_params 

Source
pub fn has_named_params(
    params: &[ParamDef],
    opaque_types: &AHashSet<String>,
) -> bool
Expand description

Check if params contain any non-opaque Named types that need let bindings. This includes direct Named types, Vec types, Vec params with is_ref=true (which need a Vec<&str> intermediate to pass as &&str), and sanitized Vec params (which are JSON-deserialized to tuples).