pub struct IndexEntry {
pub version: String,
pub abi: Option<u32>,
pub root: PathBuf,
pub source: InstallSource,
pub installed_at: u64,
}Expand description
One install record.
Fields§
§version: StringInstalled version.
abi: Option<u32>ABI version declared by the manifest (for the host’s own use).
root: PathBufAbsolute path of the install dir.
source: InstallSourceHow it was installed.
installed_at: u64Install time (Unix seconds). An integer instead of an RFC3339 string, which saves a date library dependency.
Trait Implementations§
Source§impl Clone for IndexEntry
impl Clone for IndexEntry
Source§impl Debug for IndexEntry
impl Debug for IndexEntry
Source§impl<'de> Deserialize<'de> for IndexEntry
impl<'de> Deserialize<'de> for IndexEntry
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
Auto Trait Implementations§
impl Freeze for IndexEntry
impl RefUnwindSafe for IndexEntry
impl Send for IndexEntry
impl Sync for IndexEntry
impl Unpin for IndexEntry
impl UnsafeUnpin for IndexEntry
impl UnwindSafe for IndexEntry
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