pub struct DashboardOptions {
pub format: DashboardFormat,
pub scope: DataScope,
pub performance: PerformanceMode,
pub output_dir: Option<PathBuf>,
pub binary_config: BinaryExportConfig,
}
Expand description
Unified dashboard export options
Fields§
§format: DashboardFormat
Export format (embedded, lightweight, progressive)
scope: DataScope
Data scope (user, system, both)
performance: PerformanceMode
Performance mode (fast, complete, custom)
output_dir: Option<PathBuf>
Custom output directory (None for auto-generated)
binary_config: BinaryExportConfig
Underlying binary export config
Implementations§
Source§impl DashboardOptions
impl DashboardOptions
Sourcepub fn format(self, format: DashboardFormat) -> Self
pub fn format(self, format: DashboardFormat) -> Self
Set the export format
Sourcepub fn performance(self, performance: PerformanceMode) -> Self
pub fn performance(self, performance: PerformanceMode) -> Self
Set the performance mode
Sourcepub fn output_dir<P: Into<PathBuf>>(self, dir: P) -> Self
pub fn output_dir<P: Into<PathBuf>>(self, dir: P) -> Self
Set custom output directory
Sourcepub fn binary_config(self, config: BinaryExportConfig) -> Self
pub fn binary_config(self, config: BinaryExportConfig) -> Self
Set underlying binary export config
Sourcepub fn parallel_processing(self, _enabled: bool) -> Self
pub fn parallel_processing(self, _enabled: bool) -> Self
Enable parallel processing
Sourcepub fn batch_size(self, _size: usize) -> Self
pub fn batch_size(self, _size: usize) -> Self
Set batch size
Sourcepub fn buffer_size(self, size: usize) -> Self
pub fn buffer_size(self, size: usize) -> Self
Set buffer size
Sourcepub fn fast_preset() -> Self
pub fn fast_preset() -> Self
Quick preset for fast export (minimal analysis)
Sourcepub fn complete_preset() -> Self
pub fn complete_preset() -> Self
Quick preset for complete analysis
Sourcepub fn embedded_preset() -> Self
pub fn embedded_preset() -> Self
Quick preset for backward compatibility (embedded format)
Trait Implementations§
Source§impl Clone for DashboardOptions
impl Clone for DashboardOptions
Source§fn clone(&self) -> DashboardOptions
fn clone(&self) -> DashboardOptions
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 DashboardOptions
impl Debug for DashboardOptions
Source§impl Default for DashboardOptions
impl Default for DashboardOptions
Source§fn default() -> DashboardOptions
fn default() -> DashboardOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DashboardOptions
impl RefUnwindSafe for DashboardOptions
impl Send for DashboardOptions
impl Sync for DashboardOptions
impl Unpin for DashboardOptions
impl UnwindSafe for DashboardOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more