pub struct Settings {
pub fail_early: bool,
pub filter: Option<FilterSettings>,
pub time_filter: Option<TimeFilter>,
pub dry_run: Option<DryRunMode>,
}Fields§
§fail_early: bool§filter: Option<FilterSettings>filter settings for include/exclude patterns
time_filter: Option<TimeFilter>time-based filter (mtime/btime); applied to each entry individually (files, symlinks, and directories). This is an entry filter, not a subtree gate: directories are always traversed, and the filter only decides whether each entry — including the directory itself, after its children are processed — is eligible for removal. A directory whose own timestamps are too recent is left intact even when its children have been removed; a non-empty leftover directory is logged at info and not treated as an error.
dry_run: Option<DryRunMode>dry-run mode for previewing operations
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