pub struct ExportJsonOptions {Show 15 fields
pub parallel_processing: bool,
pub buffer_size: usize,
pub use_compact_format: Option<bool>,
pub enable_type_cache: bool,
pub batch_size: usize,
pub streaming_writer: bool,
pub schema_validation: bool,
pub adaptive_optimization: bool,
pub max_cache_size: usize,
pub security_analysis: bool,
pub include_low_severity: bool,
pub integrity_hashes: bool,
pub fast_export_mode: bool,
pub auto_fast_export_threshold: Option<usize>,
pub thread_count: Option<usize>,
}
Fields§
§parallel_processing: bool
Use parallel processing for large datasets
buffer_size: usize
Buffer size for file I/O
use_compact_format: Option<bool>
Use compact JSON format for large files
enable_type_cache: bool
Enable type inference caching
batch_size: usize
Batch size for processing allocations
streaming_writer: bool
Enable streaming writer for large exports
schema_validation: bool
Enable schema validation
adaptive_optimization: bool
Enable adaptive optimization
max_cache_size: usize
Maximum cache size for type information
security_analysis: bool
Enable security violation analysis
include_low_severity: bool
Include low severity violations
integrity_hashes: bool
Generate integrity hashes
fast_export_mode: bool
Fast export mode (reduces data quality for speed)
auto_fast_export_threshold: Option<usize>
Auto-enable fast export for large datasets
thread_count: Option<usize>
Number of threads for parallel processing
Implementations§
Source§impl ExportJsonOptions
impl ExportJsonOptions
Sourcepub fn with_optimization_level(level: OptimizationLevel) -> Self
pub fn with_optimization_level(level: OptimizationLevel) -> Self
Create new options with specified optimization level
pub fn parallel_processing(self, enabled: bool) -> Self
pub fn buffer_size(self, size: usize) -> Self
pub fn fast_export_mode(self, enabled: bool) -> Self
pub fn security_analysis(self, enabled: bool) -> Self
Sourcepub fn streaming_writer(self, enabled: bool) -> Self
pub fn streaming_writer(self, enabled: bool) -> Self
Enable or disable streaming writer
pub fn schema_validation(self, enabled: bool) -> Self
pub fn integrity_hashes(self, enabled: bool) -> Self
Sourcepub fn batch_size(self, size: usize) -> Self
pub fn batch_size(self, size: usize) -> Self
Set the batch size for processing allocations
Sourcepub fn adaptive_optimization(self, enabled: bool) -> Self
pub fn adaptive_optimization(self, enabled: bool) -> Self
Enable or disable adaptive optimization
Sourcepub fn max_cache_size(self, size: usize) -> Self
pub fn max_cache_size(self, size: usize) -> Self
Set maximum cache size
Sourcepub fn include_low_severity(self, include: bool) -> Self
pub fn include_low_severity(self, include: bool) -> Self
Include low severity violations in reports
Sourcepub fn thread_count(self, count: Option<usize>) -> Self
pub fn thread_count(self, count: Option<usize>) -> Self
Set thread count for parallel processing (None for auto-detect)
Trait Implementations§
Source§impl Clone for ExportJsonOptions
impl Clone for ExportJsonOptions
Source§fn clone(&self) -> ExportJsonOptions
fn clone(&self) -> ExportJsonOptions
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for ExportJsonOptions
impl Debug for ExportJsonOptions
Auto Trait Implementations§
impl Freeze for ExportJsonOptions
impl RefUnwindSafe for ExportJsonOptions
impl Send for ExportJsonOptions
impl Sync for ExportJsonOptions
impl Unpin for ExportJsonOptions
impl UnwindSafe for ExportJsonOptions
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
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>
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>
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