Struct tdengine::GlobalConfig
[−]
[src]
pub struct GlobalConfig { pub lua_macros: HashMap<String, String>, pub start_lua: String, pub db_info: HashMap<String, String>, pub telnet_addr: Option<String>, pub net_info: String, }
Fields
lua_macros: HashMap<String, String>
start_lua: String
db_info: HashMap<String, String>
telnet_addr: Option<String>
net_info: String
Methods
impl GlobalConfig
[src]
fn instance() -> &'static GlobalConfig
fn change_instance(file_data: &str) -> bool
fn change_by_file(file_name: &str) -> bool
fn get_redis_url_list(&self) -> Vec<String>
Trait Implementations
impl Decodable for GlobalConfig
[src]
fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<GlobalConfig, __D::Error>
[−]
Deserialize a value using a Decoder
.