pub struct HtmlConfig {
pub output_path: Option<String>,
pub title: String,
pub inline_styles: bool,
pub show_durations: bool,
pub show_slowest: usize,
pub dark_mode: bool,
}Expand description
HTML reporter configuration.
Fields§
§output_path: Option<String>Output file path (None = stdout)
title: StringCustom page title
inline_styles: boolInclude inline CSS (true) or link to external stylesheet (false)
show_durations: boolShow individual test durations
show_slowest: usizeMaximum number of slowest tests section
dark_mode: boolEnable dark mode theme
Trait Implementations§
Source§impl Clone for HtmlConfig
impl Clone for HtmlConfig
Source§fn clone(&self) -> HtmlConfig
fn clone(&self) -> HtmlConfig
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 HtmlConfig
impl Debug for HtmlConfig
Auto Trait Implementations§
impl Freeze for HtmlConfig
impl RefUnwindSafe for HtmlConfig
impl Send for HtmlConfig
impl Sync for HtmlConfig
impl Unpin for HtmlConfig
impl UnsafeUnpin for HtmlConfig
impl UnwindSafe for HtmlConfig
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