Function init

Source
pub fn init<'de, Der>(der: Der) -> Result<(), Der::Error>
where Der: Deserializer<'de>,
Expand description

Initialize configuration by deserializing it from a serde::Deserializer

ยงPanics

This will panic if it has already succeeded prior

This will panic if the same field name has been registered multiple times