Skip to main content

bind_config

Function bind_config 

Source
pub fn bind_config<T>(config: &Value, section: &str) -> T
where T: for<'de> Deserialize<'de> + Default,
Expand description

Bind a section of the config JSON to a deserializable type.