pub struct Planned {
pub requested: PathBuf,
pub resolved: PathBuf,
pub size: Size,
}Expand description
One directory a resolved plan is going to remove, as the confirmation needs it.
The half of a crate::delete::PlanTarget this screen reads, restated so the screen can
be driven without a filesystem: both spellings of the path, and what the scan priced it at.
Fields§
§requested: PathBufThe path as the scan spelled it, which is what the tree holds.
resolved: PathBufThe path the deleter will unlink.
size: SizeWhat the scan knew about its size.
Implementations§
Trait Implementations§
impl Eq for Planned
impl StructuralPartialEq for Planned
Auto Trait Implementations§
impl Freeze for Planned
impl RefUnwindSafe for Planned
impl Send for Planned
impl Sync for Planned
impl Unpin for Planned
impl UnsafeUnpin for Planned
impl UnwindSafe for Planned
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more