pub struct RenameOpts {
pub slugify: SlugOpts,
pub plan: PlanOpts,
pub apply: bool,
}Expand description
Top-level options for fren::rename (the high-level convenience entry).
Fields§
§slugify: SlugOptsSlugify options (separator, case).
plan: PlanOptsPlanning options (recursion, exclusion, conflict policy).
apply: booltrue to actually execute the renames; false for dry-run (default).
Trait Implementations§
Source§impl Clone for RenameOpts
impl Clone for RenameOpts
Source§fn clone(&self) -> RenameOpts
fn clone(&self) -> RenameOpts
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 RenameOpts
impl Debug for RenameOpts
Source§impl Default for RenameOpts
impl Default for RenameOpts
Source§fn default() -> RenameOpts
fn default() -> RenameOpts
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RenameOpts
impl RefUnwindSafe for RenameOpts
impl Send for RenameOpts
impl Sync for RenameOpts
impl Unpin for RenameOpts
impl UnsafeUnpin for RenameOpts
impl UnwindSafe for RenameOpts
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