pub struct DeduplicationConfig {
pub strategy: DeduplicationStrategy,
pub default_ttl: Duration,
pub cache_size_limit: usize,
pub cleanup_interval: Duration,
}Expand description
Configuration for deduplication manager
Fields§
§strategy: DeduplicationStrategy§default_ttl: Duration§cache_size_limit: usize§cleanup_interval: DurationTrait Implementations§
Source§impl Clone for DeduplicationConfig
impl Clone for DeduplicationConfig
Source§fn clone(&self) -> DeduplicationConfig
fn clone(&self) -> DeduplicationConfig
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 DeduplicationConfig
impl Debug for DeduplicationConfig
Auto Trait Implementations§
impl Freeze for DeduplicationConfig
impl RefUnwindSafe for DeduplicationConfig
impl Send for DeduplicationConfig
impl Sync for DeduplicationConfig
impl Unpin for DeduplicationConfig
impl UnwindSafe for DeduplicationConfig
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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