pub struct RepackOptions {
pub drop: Vec<String>,
}Expand description
Options controlling a repack.
Fields§
§drop: Vec<String>Full paths of objects to omit from the output (e.g. "grp/old" or
"/grp/old"; leading and trailing slashes are ignored). Dropping a group
drops its whole subtree. Every listed path must exist in the source, or
the repack fails — a no-op drop is treated as a mistake rather than
silently ignored.
Implementations§
Trait Implementations§
Source§impl Clone for RepackOptions
impl Clone for RepackOptions
Source§fn clone(&self) -> RepackOptions
fn clone(&self) -> RepackOptions
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 RepackOptions
impl Debug for RepackOptions
Source§impl Default for RepackOptions
impl Default for RepackOptions
Source§fn default() -> RepackOptions
fn default() -> RepackOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RepackOptions
impl RefUnwindSafe for RepackOptions
impl Send for RepackOptions
impl Sync for RepackOptions
impl Unpin for RepackOptions
impl UnsafeUnpin for RepackOptions
impl UnwindSafe for RepackOptions
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