pub fn load_from_doc<'f>(doc: &MarkedYaml<'f>) -> Result<RootSchema>Expand description
Load a YAML schema from a document. Basically just a wrapper around the TryFrom<&MarkedYaml<’_>> for RootSchema.
pub fn load_from_doc<'f>(doc: &MarkedYaml<'f>) -> Result<RootSchema>Load a YAML schema from a document. Basically just a wrapper around the TryFrom<&MarkedYaml<’_>> for RootSchema.