pub struct ReportConfig {
pub output_dir: Option<String>,
pub filename_template: Option<String>,
pub language: Option<String>,
pub template: Option<String>,
}Expand description
Daily report export configuration.
Controls where generated report files are stored by default and how their
file names are constructed when an explicit --output path is not provided.
Fieldsยง
ยงoutput_dir: Option<String>Directory where generated report files are saved by default.
When set, report exports without an explicit --output path are written
into this directory (created automatically if missing). When unset, the
legacy behavior is used (a timestamped file in the current directory).
filename_template: Option<String>File name template (without extension) for generated reports.
Supported placeholders:
{date}โ the report date inYYYY-MM-DDformat{seq}โ a per-day sequence suffix: empty for the first report of the day, then_2,_3, โฆ for subsequent reports on the same date
The file extension is appended automatically based on the export format.
Defaults to daily_report_{date}{seq} when unset.
language: Option<String>Language code for localizing report labels, month and weekday names.
Supported built-in values: ru (default) and en. Unknown or unset
values fall back to ru, preserving the original report wording.
template: Option<String>Name of the design template controlling the reportโs visual style.
Corresponds to a file <data>/report_templates/<name>.json. When unset
or missing on disk, the built-in siserver template is used. The
siserver template reproduces the original SiServer look.
Trait Implementationsยง
Sourceยงimpl Clone for ReportConfig
impl Clone for ReportConfig
Sourceยงfn clone(&self) -> ReportConfig
fn clone(&self) -> ReportConfig
1.0.0 (const: unstable) ยท Sourceยงfn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more