pub struct CachedTool {
pub package: String,
pub version: Option<String>,
pub venv_path: PathBuf,
pub cached_at: SystemTime,
}Expand description
Metadata about a cached tool
Fields§
§package: StringPackage name
version: Option<String>Version installed
venv_path: PathBufPath to the virtual environment
cached_at: SystemTimeWhen the tool was cached
Implementations§
Source§impl CachedTool
impl CachedTool
Trait Implementations§
Source§impl Clone for CachedTool
impl Clone for CachedTool
Source§fn clone(&self) -> CachedTool
fn clone(&self) -> CachedTool
Returns a duplicate of the value. Read more
1.0.0 · 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 CachedTool
impl RefUnwindSafe for CachedTool
impl Send for CachedTool
impl Sync for CachedTool
impl Unpin for CachedTool
impl UnwindSafe for CachedTool
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