#[non_exhaustive]pub struct UninstallPlan {
pub target: PlanTarget,
pub changes: Vec<PlannedChange>,
pub status: PlanStatus,
pub warnings: Vec<PlanWarning>,
}Expand description
Side-effect-free preview of an uninstall operation.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.target: PlanTargetWhat uninstall target this plan describes.
changes: Vec<PlannedChange>File, directory, permission, ledger, no-op, or refusal changes.
status: PlanStatusHigh-level outcome of the plan.
warnings: Vec<PlanWarning>Advisory information that does not alter the status.
Trait Implementations§
Source§impl Clone for UninstallPlan
impl Clone for UninstallPlan
Source§fn clone(&self) -> UninstallPlan
fn clone(&self) -> UninstallPlan
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 UninstallPlan
impl RefUnwindSafe for UninstallPlan
impl Send for UninstallPlan
impl Sync for UninstallPlan
impl Unpin for UninstallPlan
impl UnsafeUnpin for UninstallPlan
impl UnwindSafe for UninstallPlan
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