blob: 4407c103038a3fb8164bb5e7f9a1f2a157568539 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
use std::collections::BTreeMap;
/// A Response to an API call including status and data.
/// Data is guaranteed to be a `Struct`.
/// [`Struct`]: xmlrpc::Value::Struct
#[derive(Clone, Debug)]
pub struct Response {
pub status: i32,
pub data: BTreeMap<String, xmlrpc::Value>,
}
pub mod nameserver;
|