Constant cuprate_test_utils::rpc::data::other::SET_LIMIT_RESPONSE

source ยท
pub const SET_LIMIT_RESPONSE: &str = r#"{
  "limit_down": 1024,
  "limit_up": 128,
  "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_LIMIT_RESPONSE);