pub struct InstalledTool {
pub dependency: Dependency,
pub at: u64,
pub added: Vec<Item>,
pub waiting: Vec<Item>,
}Expand description
What setups added of a tool, on record.
Fields§
§dependency: DependencyThe tool.
at: u64When an install last added to it, in seconds since the Unix epoch.
added: Vec<Item>What its installs added: what a clean-up removes (super::removal), and nothing else.
waiting: Vec<Item>What an install left to its vendor’s installer, or didn’t find yet (Installed::waiting):
added once a later check finds it (settle).
Trait Implementations§
Source§impl Clone for InstalledTool
impl Clone for InstalledTool
Source§impl Debug for InstalledTool
impl Debug for InstalledTool
Source§impl<'de> Deserialize<'de> for InstalledTool
impl<'de> Deserialize<'de> for InstalledTool
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 InstalledTool
Source§impl PartialEq for InstalledTool
impl PartialEq for InstalledTool
Source§impl Serialize for InstalledTool
impl Serialize for InstalledTool
impl StructuralPartialEq for InstalledTool
Auto Trait Implementations§
impl Forget for InstalledTool
impl Freeze for InstalledTool
impl Move for InstalledTool
impl RefUnwindSafe for InstalledTool
impl Send for InstalledToolwhere
RawVecInner: Send,
impl Sync for InstalledToolwhere
RawVecInner: Sync,
impl Unpin for InstalledTool
impl UnsafeUnpin for InstalledTool
impl UnwindSafe for InstalledToolwhere
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.