pub struct PathCache {
pub version: String,
pub saved_at: DateTime<Utc>,
pub source: CacheSource,
pub path: Vec<PathBuf>,
pub tools: BTreeMap<String, PathBuf>,
}Expand description
The cache file.
Fields§
§version: String§saved_at: DateTime<Utc>§source: CacheSource§path: Vec<PathBuf>The PATH folders, in order.
tools: BTreeMap<String, PathBuf>The last absolute path where each tool was found, as found: no symbolic link is resolved.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PathCache
impl<'de> Deserialize<'de> for PathCache
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 PathCache
impl StructuralPartialEq for PathCache
Auto Trait Implementations§
impl Forget for PathCache
impl Freeze for PathCache
impl Move for PathCache
impl RefUnwindSafe for PathCache
impl Send for PathCache
impl Sync for PathCache
impl Unpin for PathCache
impl UnsafeUnpin for PathCachewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
NonZeroI32Inner: UnsafeUnpin,
Utc: UnsafeUnpin,
PhantomData<PathBuf>: UnsafeUnpin,
*const LeafNode<String, PathBuf> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, PathBuf)>>: UnsafeUnpin,
impl UnwindSafe for PathCachewhere
RawVecInner: UnwindSafe,
NonZero<i32>: UnwindSafe,
Utc: UnwindSafe,
BTreeMap<String, PathBuf>: 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