pub struct PruningPolicy {
pub keep_ratio: Option<f64>,
pub preserve_paths: Vec<String>,
pub retrieval_store: Option<PathBuf>,
pub retrieval_namespace: Option<String>,
}Fields§
§keep_ratio: Option<f64>§preserve_paths: Vec<String>§retrieval_store: Option<PathBuf>§retrieval_namespace: Option<String>Trait Implementations§
Source§impl Clone for PruningPolicy
impl Clone for PruningPolicy
Source§fn clone(&self) -> PruningPolicy
fn clone(&self) -> PruningPolicy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PruningPolicy
impl Debug for PruningPolicy
Source§impl PartialEq for PruningPolicy
impl PartialEq for PruningPolicy
impl StructuralPartialEq for PruningPolicy
Auto Trait Implementations§
impl Freeze for PruningPolicy
impl RefUnwindSafe for PruningPolicy
impl Send for PruningPolicy
impl Sync for PruningPolicy
impl Unpin for PruningPolicy
impl UnsafeUnpin for PruningPolicy
impl UnwindSafe for PruningPolicy
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