pub struct InstalledPackage {
pub version: String,
pub revision: u32,
pub installed_at: String,
pub installed_by: String,
pub requested: bool,
pub pinned: bool,
pub dependencies: Vec<String>,
pub head_sha: Option<String>,
pub is_head: bool,
pub bottle_sha256: Option<String>,
}Expand description
Information about an installed package
Fields§
§version: String§revision: u32§installed_at: String§installed_by: String§requested: bool§pinned: bool§dependencies: Vec<String>§head_sha: Option<String>Full commit SHA for HEAD installations
is_head: boolQuick flag for HEAD detection
bottle_sha256: Option<String>SHA256 of the installed bottle (for reinstall optimization)
Implementations§
Trait Implementations§
Source§impl Clone for InstalledPackage
impl Clone for InstalledPackage
Source§fn clone(&self) -> InstalledPackage
fn clone(&self) -> InstalledPackage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InstalledPackage
impl Debug for InstalledPackage
Source§impl<'de> Deserialize<'de> for InstalledPackage
impl<'de> Deserialize<'de> for InstalledPackage
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 InstalledPackage
impl RefUnwindSafe for InstalledPackage
impl Send for InstalledPackage
impl Sync for InstalledPackage
impl Unpin for InstalledPackage
impl UnsafeUnpin for InstalledPackage
impl UnwindSafe for InstalledPackage
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