sz_configtool_lib/functions/
matching.rs1use crate::error::SzConfigError;
10use serde_json::Value;
11
12pub fn add_matching_function(
14 _config_json: &str,
15 _rtype_code: &str,
16 _matching_func: &str,
17) -> Result<(String, Value), SzConfigError> {
18 Err(SzConfigError::not_implemented(
19 "Matching functions are not yet fully implemented",
20 ))
21}
22
23pub fn delete_matching_function(
25 _config_json: &str,
26 _rtype_code: &str,
27) -> Result<(String, Value), SzConfigError> {
28 Err(SzConfigError::not_implemented(
29 "Matching functions are not yet fully implemented",
30 ))
31}
32
33pub fn get_matching_function(
35 _config_json: &str,
36 _rtype_code: &str,
37) -> Result<Value, SzConfigError> {
38 Err(SzConfigError::not_implemented(
39 "Matching functions are not yet fully implemented",
40 ))
41}
42
43pub fn list_matching_functions(_config_json: &str) -> Result<Vec<Value>, SzConfigError> {
45 Err(SzConfigError::not_implemented(
46 "Matching functions are not yet fully implemented",
47 ))
48}
49
50pub fn set_matching_function(
52 _config_json: &str,
53 _rtype_code: &str,
54 _matching_func: Option<&str>,
55) -> Result<(String, Value), SzConfigError> {
56 Err(SzConfigError::not_implemented(
57 "Matching functions are not yet fully implemented",
58 ))
59}
60
61pub fn remove_matching_function(
63 _config_json: &str,
64 _rtype_code: &str,
65) -> Result<(String, Value), SzConfigError> {
66 Err(SzConfigError::not_implemented(
67 "Matching functions are not yet fully implemented",
68 ))
69}