#[non_exhaustive]pub struct Installed {
pub added: Vec<Item>,
pub waiting: Vec<Item>,
}Expand description
What an install added: what a clean-up may remove again, and nothing else.
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.added: Vec<Item>The items missing before the install and there after it.
waiting: Vec<Item>The tool itself where it was missing before and isn’t found yet: its installer left open
for its user to finish (a macOS cask), or PATH not read again yet. It counts as added
once a later check finds it (super::record::settle).
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Installed
impl<'de> Deserialize<'de> for Installed
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Installed
impl StructuralPartialEq for Installed
Auto Trait Implementations§
impl Forget for Installed
impl Freeze for Installed
impl Move for Installed
impl RefUnwindSafe for Installed
impl Send for Installedwhere
RawVecInner: Send,
impl Sync for Installedwhere
RawVecInner: Sync,
impl Unpin for Installed
impl UnsafeUnpin for Installed
impl UnwindSafe for Installedwhere
RawVecInner: UnwindSafe,
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.