pub struct ChangeDetectionConfig {
pub enable_content_hash: bool,
pub enable_metadata_detection: bool,
pub enable_timestamp_detection: bool,
pub enable_chunk_detection: bool,
pub hash_algorithm: HashAlgorithm,
pub sensitivity: ChangeSensitivity,
pub max_change_history: usize,
}Expand description
Change detection configuration
Fields§
§enable_content_hash: boolEnable content hash comparison
enable_metadata_detection: boolEnable metadata change detection
enable_timestamp_detection: boolEnable timestamp-based change detection
enable_chunk_detection: boolChunk-level change detection
hash_algorithm: HashAlgorithmHash algorithm to use
sensitivity: ChangeSensitivityChange detection sensitivity
max_change_history: usizeMaximum change history to keep
Trait Implementations§
Source§impl Clone for ChangeDetectionConfig
impl Clone for ChangeDetectionConfig
Source§fn clone(&self) -> ChangeDetectionConfig
fn clone(&self) -> ChangeDetectionConfig
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 ChangeDetectionConfig
impl Debug for ChangeDetectionConfig
Source§impl Default for ChangeDetectionConfig
impl Default for ChangeDetectionConfig
Source§impl<'de> Deserialize<'de> for ChangeDetectionConfig
impl<'de> Deserialize<'de> for ChangeDetectionConfig
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 ChangeDetectionConfig
impl RefUnwindSafe for ChangeDetectionConfig
impl Send for ChangeDetectionConfig
impl Sync for ChangeDetectionConfig
impl Unpin for ChangeDetectionConfig
impl UnwindSafe for ChangeDetectionConfig
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