pub struct EncodingConfig {
pub use_compression: bool,
pub compression_threshold: usize,
pub enable_caching: bool,
pub cache_size: usize,
pub enable_performance_tracking: bool,
pub validation_level: ValidationLevel,
pub max_string_length: usize,
pub max_array_size: usize,
}Expand description
Encoding configuration manager
Fields§
§use_compression: boolUse compression for large data
compression_threshold: usizeCompression threshold (bytes)
enable_caching: boolEnable caching
cache_size: usizeCache size
enable_performance_tracking: boolEnable performance tracking
validation_level: ValidationLevelValidation level
max_string_length: usizeMaximum string length
max_array_size: usizeMaximum array size
Trait Implementations§
Source§impl Clone for EncodingConfig
impl Clone for EncodingConfig
Source§fn clone(&self) -> EncodingConfig
fn clone(&self) -> EncodingConfig
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 EncodingConfig
impl Debug for EncodingConfig
Auto Trait Implementations§
impl Freeze for EncodingConfig
impl RefUnwindSafe for EncodingConfig
impl Send for EncodingConfig
impl Sync for EncodingConfig
impl Unpin for EncodingConfig
impl UnsafeUnpin for EncodingConfig
impl UnwindSafe for EncodingConfig
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