#![allow(dead_code)]
#[macro_use]
extern crate nest_struct;
#[nest_struct]
struct Config<P, 'a> {
version: &'a str,
main_server: nest! {
#[Derive(Debug)]
struct ConfigServer<'a, P> {
name: &'a str,
host: &'a str,
port: P,
user: &'a str,
password: &'a str,
}
},
backup_server: ConfigServer<'a, P>,
}