cuprate_test_utils::rpc::data::other

Constant SET_LOG_CATEGORIES_RESPONSE

Source
pub const SET_LOG_CATEGORIES_RESPONSE: &str = r#"
{
  "categories": "*:INFO",
  "status": "OK",
  "untrusted": false
}"#;
Expand description

Documentation, request.

use cuprate_test_utils::rpc::data::other::*;
use serde_json::{to_value, Value};

let value = serde_json::from_str::<Value>(&SET_LOG_CATEGORIES_RESPONSE);