pub struct ReportingConfig {
pub report_title: String,
pub output_formats: Vec<String>,
pub include_summary_charts: bool,
pub include_skipped_files_section: bool,
pub include_warnings_section: bool,
pub theme: String,
pub company_name: Option<String>,
pub logo_path: Option<PathBuf>,
pub accent_color: Option<String>,
pub report_header_footer: Option<String>,
}Fields§
§report_title: String§output_formats: Vec<String>§include_summary_charts: bool§include_skipped_files_section: bool§include_warnings_section: bool§theme: String§company_name: Option<String>Optional company or team name shown in the report header instead of “OxideSLOC”.
logo_path: Option<PathBuf>Path to a PNG/SVG logo file to embed in the report header.
If unset, the default OxideSLOC logo is used.
accent_color: Option<String>CSS hex colour (e.g. #3b82f6) used as the primary accent throughout the report.
Must start with # and be a valid 3- or 6-digit hex colour.
Text printed in a header and footer strip on every page of the HTML/PDF report. Use for company name, project identifier, or scanner identification.
Trait Implementations§
Source§impl Clone for ReportingConfig
impl Clone for ReportingConfig
Source§fn clone(&self) -> ReportingConfig
fn clone(&self) -> ReportingConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ReportingConfig
impl Debug for ReportingConfig
Source§impl Default for ReportingConfig
impl Default for ReportingConfig
Source§impl<'de> Deserialize<'de> for ReportingConfig
impl<'de> Deserialize<'de> for ReportingConfig
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 ReportingConfig
impl RefUnwindSafe for ReportingConfig
impl Send for ReportingConfig
impl Sync for ReportingConfig
impl Unpin for ReportingConfig
impl UnsafeUnpin for ReportingConfig
impl UnwindSafe for ReportingConfig
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