Skip to main content

bind

Function bind 

Source
pub fn bind<'a, T: Deserialize<'a>>(
    sections: impl Into<Vec<Section<'a>>>,
    data: &mut T,
) -> Result<(), Error>
Available on crate feature binder only.
Expand description

Deserializes the specified configuration to an existing data structure.

ยงArguments

  • configuration - The configuration sections to bind to the data
  • data - The data to bind the configuration to