pub struct ResultsCacheEntry {
pub type_name: String,
pub deps: Option<String>,
pub ra_version: String,
pub lib_version: String,
pub method_count: usize,
pub path: PathBuf,
}Expand description
Metadata and results for a single results cache entry.
Fields§
§type_name: StringThe Rust type that was queried.
deps: Option<String>The effective TOML dependency string, if any.
ra_version: StringThe rust-analyzer version this entry was created with.
lib_version: StringThe rust-meth-lib version this entry was created with.
method_count: usizeNumber of methods stored in this entry.
path: PathBufAbsolute path to the cache file on disk.
Trait Implementations§
Source§impl Clone for ResultsCacheEntry
impl Clone for ResultsCacheEntry
Auto Trait Implementations§
impl Freeze for ResultsCacheEntry
impl RefUnwindSafe for ResultsCacheEntry
impl Send for ResultsCacheEntry
impl Sync for ResultsCacheEntry
impl Unpin for ResultsCacheEntry
impl UnsafeUnpin for ResultsCacheEntry
impl UnwindSafe for ResultsCacheEntry
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