[][src]Function zap_api::replacer::set_enabled

pub fn set_enabled(
    service: &ZapService,
    description: String,
    bool: String
) -> Result<Value, ZapApiError>

Enables or disables the rule with the given description based on the bool parameter

This component is optional and therefore the API will only work if it is installed