pub struct DeltaConfig {
pub enable_delta: bool,
pub track_changes: bool,
}Expand description
Configuration for delta encoding
Fields§
§enable_delta: boolEnable delta encoding mode
track_changes: boolTrack changes for delta computation
Implementations§
Source§impl DeltaConfig
impl DeltaConfig
Sourcepub fn with_enable_delta(self, enable: bool) -> Self
pub fn with_enable_delta(self, enable: bool) -> Self
Enables delta encoding
Sourcepub fn with_track_changes(self, track: bool) -> Self
pub fn with_track_changes(self, track: bool) -> Self
Enables change tracking
Trait Implementations§
Source§impl Clone for DeltaConfig
impl Clone for DeltaConfig
Source§fn clone(&self) -> DeltaConfig
fn clone(&self) -> DeltaConfig
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 DeltaConfig
impl Debug for DeltaConfig
Auto Trait Implementations§
impl Freeze for DeltaConfig
impl RefUnwindSafe for DeltaConfig
impl Send for DeltaConfig
impl Sync for DeltaConfig
impl Unpin for DeltaConfig
impl UnwindSafe for DeltaConfig
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