Skip to main content

ExportService

Trait ExportService 

Source
pub trait ExportService: Send + Sync {
    // Required method
    fn export_html(
        &self,
        source_path: &str,
        output_dir: &Path,
        encrypt: bool,
        password: Option<&str>,
        show_timestamps: bool,
    ) -> Result<ExportResult, String>;
}
Expand description

HTML/markdown export.

Required Methods§

Source

fn export_html( &self, source_path: &str, output_dir: &Path, encrypt: bool, password: Option<&str>, show_timestamps: bool, ) -> Result<ExportResult, String>

Export a conversation to HTML.

Implementors§