pub struct BinaryTemplateEngineConfig {
pub enable_cache: bool,
pub enable_precompilation: bool,
pub enable_data_compression: bool,
pub max_cache_size_mb: usize,
pub processing_timeout_secs: u64,
}
Expand description
Configuration for the binary template engine
Fields§
§enable_cache: bool
Enable template caching for better performance
enable_precompilation: bool
Enable template precompilation
enable_data_compression: bool
Enable data compression for large datasets
max_cache_size_mb: usize
Maximum template cache size in MB
processing_timeout_secs: u64
Template processing timeout in seconds
Trait Implementations§
Source§impl Clone for BinaryTemplateEngineConfig
impl Clone for BinaryTemplateEngineConfig
Source§fn clone(&self) -> BinaryTemplateEngineConfig
fn clone(&self) -> BinaryTemplateEngineConfig
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 BinaryTemplateEngineConfig
impl Debug for BinaryTemplateEngineConfig
Auto Trait Implementations§
impl Freeze for BinaryTemplateEngineConfig
impl RefUnwindSafe for BinaryTemplateEngineConfig
impl Send for BinaryTemplateEngineConfig
impl Sync for BinaryTemplateEngineConfig
impl Unpin for BinaryTemplateEngineConfig
impl UnwindSafe for BinaryTemplateEngineConfig
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