Skip to main content

set_threshold

Function set_threshold 

Source
pub fn set_threshold(
    _config_json: &str,
    _params: SetThresholdParams,
) -> Result<String>
Expand description

Set threshold level by ID

This is a placeholder for set_threshold() functionality. TODO: Determine exact requirements for this function.

§Arguments

  • config_json - JSON configuration string
  • params - Threshold parameters (threshold_id required to identify, others optional to update)

§Returns

Modified configuration JSON string