pub struct ApplyOptions {
pub dry_run: bool,
pub allow_guarded: bool,
pub allow_unsafe: bool,
pub backup_enabled: bool,
pub backup_dir: Option<Utf8PathBuf>,
pub backup_suffix: String,
pub params: HashMap<String, String>,
}Fields§
§dry_run: bool§allow_guarded: bool§allow_unsafe: bool§backup_enabled: bool§backup_dir: Option<Utf8PathBuf>Directory to store backups.
backup_suffix: StringBackup file suffix.
params: HashMap<String, String>Params to resolve unsafe operations.
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