pub fn parse<T: DeserializeOwned>( text: &str, format: DocFormat, ) -> Result<T, String>
text in format as a T (a Pipeline, an OpSpec, …).
text
format
T
Pipeline
OpSpec