pub struct PerformanceConfig {
pub max_concurrent_uploads: usize,
pub cache_ttl_minutes: u64,
pub max_cache_entries: usize,
pub enable_parallel_processing: bool,
}
Expand description
Performance configuration settings.
Fields§
§max_concurrent_uploads: usize
Maximum number of concurrent uploads (default: 5)
cache_ttl_minutes: u64
Cache TTL in minutes (default: 15)
max_cache_entries: usize
Maximum cache size in entries (default: 1000)
enable_parallel_processing: bool
Whether to enable parallel processing (default: true)
Implementations§
Source§impl PerformanceConfig
impl PerformanceConfig
Sourcepub fn builder() -> PerformanceConfigBuilder
pub fn builder() -> PerformanceConfigBuilder
Creates a new performance config builder.
Trait Implementations§
Source§impl Clone for PerformanceConfig
impl Clone for PerformanceConfig
Source§fn clone(&self) -> PerformanceConfig
fn clone(&self) -> PerformanceConfig
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 PerformanceConfig
impl Debug for PerformanceConfig
Source§impl Default for PerformanceConfig
impl Default for PerformanceConfig
Source§impl<'de> Deserialize<'de> for PerformanceConfig
impl<'de> Deserialize<'de> for PerformanceConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PerformanceConfig
impl RefUnwindSafe for PerformanceConfig
impl Send for PerformanceConfig
impl Sync for PerformanceConfig
impl Unpin for PerformanceConfig
impl UnwindSafe for PerformanceConfig
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