pub struct FormatConfig {
pub format: OutputFormat,
pub template: Option<TemplateFormat>,
pub show_headers: bool,
pub max_title_length: Option<usize>,
}Expand description
Configuration for formatting output.
Fields§
§format: OutputFormatThe output format to use.
template: Option<TemplateFormat>Template configuration for custom formats.
show_headers: boolWhether to show headers in CSV/Table formats.
max_title_length: Option<usize>Maximum title length before truncation.
Trait Implementations§
Source§impl Clone for FormatConfig
impl Clone for FormatConfig
Source§fn clone(&self) -> FormatConfig
fn clone(&self) -> FormatConfig
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 FormatConfig
impl Debug for FormatConfig
Auto Trait Implementations§
impl Freeze for FormatConfig
impl RefUnwindSafe for FormatConfig
impl Send for FormatConfig
impl Sync for FormatConfig
impl Unpin for FormatConfig
impl UnwindSafe for FormatConfig
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