pub struct DeltaConfig {
pub similarity_threshold: f64,
pub min_space_savings: f64,
pub max_chain_depth: u32,
}Expand description
Media-aware delta configuration
Fields§
§similarity_threshold: f64Similarity threshold (0.0-1.0)
min_space_savings: f64Minimum space savings (0.0-1.0)
max_chain_depth: u32Maximum chain depth
Implementations§
Source§impl DeltaConfig
impl DeltaConfig
Sourcepub fn for_object_type(obj_type: ObjectType) -> Self
pub fn for_object_type(obj_type: ObjectType) -> Self
Get configuration for object type
Sourcepub fn default_config() -> Self
pub fn default_config() -> Self
Default configuration
Trait Implementations§
Source§impl Clone for DeltaConfig
impl Clone for DeltaConfig
impl Copy for DeltaConfig
Auto Trait Implementations§
impl Forget for DeltaConfig
impl Freeze for DeltaConfig
impl RefUnwindSafe for DeltaConfig
impl Send for DeltaConfig
impl Sync for DeltaConfig
impl Unpin for DeltaConfig
impl UnsafeUnpin 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