Skip to main content

StructureResultExt

Trait StructureResultExt 

Source
pub trait StructureResultExt {
    // Required methods
    fn to_concatenated_markdown(results: &[Self]) -> String
       where Self: Sized;
    fn save_multi_page_results(
        results: &[Self],
        output_dir: impl AsRef<Path>,
        base_name: &str,
        to_json: bool,
        to_markdown: bool,
        to_html: bool,
    ) -> Result<(), Error>
       where Self: Sized;
}
Expand description

Extension trait for convenient multi-page processing.

Required Methods§

Source

fn to_concatenated_markdown(results: &[Self]) -> String
where Self: Sized,

Converts multiple results to a single concatenated markdown.

Source

fn save_multi_page_results( results: &[Self], output_dir: impl AsRef<Path>, base_name: &str, to_json: bool, to_markdown: bool, to_html: bool, ) -> Result<(), Error>
where Self: Sized,

Saves multiple results with concatenated markdown.

Implementors§