aboutsummaryrefslogtreecommitdiff
path: root/src/call/mod.rs
blob: 517f4591601c8736818f9ba6a5af734c0aefd2d5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
/// A call to the API.
pub trait Call: Clone + std::fmt::Debug + serde::Serialize {
    fn method_name(&self) -> String;
    fn expected(&self) -> Vec<i32>;
}

/// This trait indicates the response data type to this a `Call`.
pub trait Response<T> {}

pub mod account;
pub mod nameserver;