pub struct Settings {
pub mode: ModeProgram,
pub owner: OwnerProgram,
pub group: OwnerProgram,
pub fail_early: bool,
pub defer_dir_changes: bool,
pub filter: Option<FilterSettings>,
pub time_filter: Option<TimeFilter>,
pub dry_run: Option<DryRunMode>,
}Expand description
Configuration for a recursive chmod/chgrp/chown run.
Fields§
§mode: ModeProgram§owner: OwnerProgram§group: OwnerProgram§fail_early: bool§defer_dir_changes: boolApply directory mode/owner changes after their contents (post-order) instead of before (the default). Needed when recursively removing the owner’s own traversal permission from directories.
filter: Option<FilterSettings>§time_filter: Option<TimeFilter>§dry_run: Option<DryRunMode>Trait Implementations§
Auto Trait Implementations§
impl Freeze for Settings
impl RefUnwindSafe for Settings
impl Send for Settings
impl Sync for Settings
impl Unpin for Settings
impl UnsafeUnpin for Settings
impl UnwindSafe for Settings
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request