pub struct ChmodConfig {
pub changes: bool,
pub quiet: bool,
pub verbose: bool,
pub preserve_root: bool,
pub recursive: bool,
}Expand description
Configuration for chmod operations.
Fields§
§changes: boolReport only when a change is made.
quiet: boolSuppress most error messages.
verbose: boolOutput a diagnostic for every file processed.
preserve_root: boolFail to operate recursively on ‘/’.
recursive: boolOperate recursively.
Trait Implementations§
Source§impl Clone for ChmodConfig
impl Clone for ChmodConfig
Source§fn clone(&self) -> ChmodConfig
fn clone(&self) -> ChmodConfig
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 ChmodConfig
impl Debug for ChmodConfig
Source§impl Default for ChmodConfig
impl Default for ChmodConfig
Source§fn default() -> ChmodConfig
fn default() -> ChmodConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ChmodConfig
impl RefUnwindSafe for ChmodConfig
impl Send for ChmodConfig
impl Sync for ChmodConfig
impl Unpin for ChmodConfig
impl UnsafeUnpin for ChmodConfig
impl UnwindSafe for ChmodConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more