1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
#![allow(missing_docs)]
//! Common structures between requests and responses

/// Sub-structure for route in 'pay', 'getroute' and 'sendpay'
#[derive(Debug, Clone, Deserialize, Serialize)]
pub struct RouteItem {
    pub id: String,
    pub channel: String,
    pub msatoshi: i64,
    pub delay: i64,
}