pub struct UpgradeOptions {
pub target: Utf8PathBuf,
pub dry_run: bool,
}Expand description
What an upgrade was asked to do.
Fields§
§target: Utf8PathBufThe absolute target instance.
dry_run: boolReport the plan and change nothing.
Trait Implementations§
Source§impl Clone for UpgradeOptions
impl Clone for UpgradeOptions
Source§fn clone(&self) -> UpgradeOptions
fn clone(&self) -> UpgradeOptions
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 moreAuto Trait Implementations§
impl Freeze 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