pub struct ApplyOptions {
pub force: bool,
}Expand description
Options for applying scaffolding
Fields§
§force: boolForce overwrite of modified files (ignores user modifications)
Trait Implementations§
Source§impl Clone for ApplyOptions
impl Clone for ApplyOptions
Source§fn clone(&self) -> ApplyOptions
fn clone(&self) -> ApplyOptions
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 ApplyOptions
impl Debug for ApplyOptions
Source§impl Default for ApplyOptions
impl Default for ApplyOptions
Source§fn default() -> ApplyOptions
fn default() -> ApplyOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ApplyOptions
impl RefUnwindSafe for ApplyOptions
impl Send for ApplyOptions
impl Sync for ApplyOptions
impl Unpin for ApplyOptions
impl UnsafeUnpin for ApplyOptions
impl UnwindSafe for ApplyOptions
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