pub fn load(
    service: &ZapService,
    scriptname: String,
    scripttype: String,
    scriptengine: String,
    filename: String,
    scriptdescription: String,
    charset: String,
) -> Result<Value, ZapApiError> {
    let mut params = HashMap::new();
    params.insert("scriptName".to_string(), scriptname);
    params.insert("scriptType".to_string(), scripttype);
    params.insert("scriptEngine".to_string(), scriptengine);
    params.insert("fileName".to_string(), filename);
    params.insert("scriptDescription".to_string(), scriptdescription);
    params.insert("charset".to_string(), charset);
    super::call(service, "script", "action", "load", params)
}
/**
 * Loads a script into ZAP from the given local file, with the given name, type and engine, optionally with a description, and a charset name to read the script (the charset name is required if the script is not in UTF-8, for example, in ISO-8859-1).
*/
Loads a script into ZAP from the given local file, with the given name, type and engine, optionally with a description, and a charset name to read the script (the charset name is required if the script is not in UTF-8, for example, in ISO-8859-1).
Loads a script into ZAP from the given local file with the given name type and engine optionally with a description and a charset name to read the script ( the charset name is required if the script is not in UTF - 8 for example in ISO - 8859 - 1 ) .
pub fn load(
    service: &ZapService,
    scriptname: String,
    scripttype: String,
    scriptengine: String,
    filename: String,
    scriptdescription: String,
    charset: String,
) -> Result<Value, ZapApiError> {
    let mut params = HashMap::new();
    params.insert("scriptName".to_string(), scriptname);
    params.insert("scriptType".to_string(), scripttype);
    params.insert("scriptEngine".to_string(), scriptengine);
    params.insert("fileName".to_string(), filename);
    params.insert("scriptDescription".to_string(), scriptdescription);
    params.insert("charset".to_string(), charset);
    super::call(service, "script", "action", "load", params)
}
pub fn load ( service : & ZapService , scriptname : String , scripttype : String , scriptengine : String , filename : String , scriptdescription : String , charset : String , ) -> Result < Value , ZapApiError > { let mut params = HashMap :: new ( ) ; params . insert ( " " . to_string ( ) , scriptname ) ; params . insert ( " " . to_string ( ) , scripttype ) ; params . insert ( " " . to_string ( ) , scriptengine ) ; params . insert ( " " . to_string ( ) , filename ) ; params . insert ( " " . to_string ( ) , scriptdescription ) ; params . insert ( " " . to_string ( ) , charset ) ; super :: call ( service , " " , " " , " " , params ) }
Loads a script into ZAP from the given local file, with the given name, type and engine, optionally with a description, and a charset name to read the script (the charset name is required if the script is not in UTF-8, for example, in ISO-8859-1).
Loads a script into ZAP from the given local file with the given name type and engine optionally with a description and a charset name to read the script ( the charset name is required if the script is not in UTF - 8 for example in ISO - 8859 - 1 ) .
service
&ZapService
scriptname
String
scripttype
String
scriptengine
String
filename
String
scriptdescription
String
charset
String
service
&ZapService
scriptname
String
scripttype
String
scriptengine
String
filename
String
scriptdescription
String
charset
String