1 2 3 4 5 6 7 8 9 10 11
use serde::Deserialize; #[derive(Deserialize)] pub struct Config { pub(crate) secret: String, pub(crate) node_host: String, pub(crate) node_port: i32, pub(crate) version: String, pub(crate) p2p_version: String }