Skip to main content

bind_config

Function bind_config 

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

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