pub struct UpgradeOptions {
pub target: Utf8PathBuf,
pub dry_run: bool,
pub staged: Option<StagedChoices>,
pub replace: Vec<String>,
}Expand description
What an upgrade was asked to do.
Fields§
§target: Utf8PathBufThe absolute target instance.
dry_run: boolReport what would change and change nothing.
staged: Option<StagedChoices>The choices a stage recorded, where the landing takes them.
replace: Vec<String>The conflicts the operator named for replacement, as the record names each destination.
Trait Implementations§
Source§impl Clone for UpgradeOptions
impl Clone for UpgradeOptions
Auto Trait Implementations§
impl Forget for UpgradeOptions
impl Freeze for UpgradeOptions
impl Move for UpgradeOptions
impl RefUnwindSafe for UpgradeOptions
impl Send for UpgradeOptions
impl Sync for UpgradeOptions
impl Unpin for UpgradeOptions
impl UnsafeUnpin for UpgradeOptions
impl UnwindSafe for UpgradeOptions
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