pub struct CleanOptions {
pub directories: bool,
pub ignored: bool,
pub force: bool,
pub extra_args: ExtraArgs,
}Expand description
Controls repository cleaning operations.
Fields§
§directories: boolRemove untracked directories in addition to files.
ignored: boolInclude ignored files.
force: boolRequire force semantics for destructive cleanup.
extra_args: ExtraArgsImplementation-specific passthrough arguments.
Trait Implementations§
Source§impl Clone for CleanOptions
impl Clone for CleanOptions
Source§fn clone(&self) -> CleanOptions
fn clone(&self) -> CleanOptions
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 CleanOptions
impl Debug for CleanOptions
Source§impl Default for CleanOptions
impl Default for CleanOptions
Source§fn default() -> CleanOptions
fn default() -> CleanOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CleanOptions
impl RefUnwindSafe for CleanOptions
impl Send for CleanOptions
impl Sync for CleanOptions
impl Unpin for CleanOptions
impl UnsafeUnpin for CleanOptions
impl UnwindSafe for CleanOptions
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