pub struct VisualizationConfig {
pub default_format: ExportFormat,
pub show_char_intervals: bool,
pub include_text: bool,
pub highlight_extractions: bool,
pub include_statistics: bool,
pub custom_css: Option<String>,
pub default_title: Option<String>,
}
Expand description
Configuration for visualization and export
Fields§
§default_format: ExportFormat
Default export format
show_char_intervals: bool
Show character intervals in output
include_text: bool
Include original text in export
highlight_extractions: bool
Highlight extractions in text (for HTML/Markdown)
include_statistics: bool
Include extraction statistics
custom_css: Option<String>
Custom CSS for HTML export
default_title: Option<String>
Default title for exports
Trait Implementations§
Source§impl Clone for VisualizationConfig
impl Clone for VisualizationConfig
Source§fn clone(&self) -> VisualizationConfig
fn clone(&self) -> VisualizationConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for VisualizationConfig
impl Debug for VisualizationConfig
Source§impl Default for VisualizationConfig
impl Default for VisualizationConfig
Source§impl<'de> Deserialize<'de> for VisualizationConfig
impl<'de> Deserialize<'de> for VisualizationConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for VisualizationConfig
impl RefUnwindSafe for VisualizationConfig
impl Send for VisualizationConfig
impl Sync for VisualizationConfig
impl Unpin for VisualizationConfig
impl UnwindSafe for VisualizationConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more