Function toml_edit::de::from_document
source · [−]pub fn from_document<T>(d: Document) -> Result<T, Error> where
T: DeserializeOwned,
Expand description
Convert a document into T
.
pub fn from_document<T>(d: Document) -> Result<T, Error> where
T: DeserializeOwned,
Convert a document into T
.