pub struct Inspection {Show 13 fields
pub id: String,
pub name: String,
pub kind: &'static str,
pub origin: String,
pub file: Option<String>,
pub sha256: Option<String>,
pub licence: Option<String>,
pub software_licence: Option<String>,
pub provenance: Vec<Fact>,
pub integrity: Vec<Fact>,
pub downloads: Vec<Fact>,
pub privileges: Vec<String>,
pub validation: Assessment,
}Expand description
Everything the inspector found about one entry.
Fields§
§id: String§name: String§kind: &'static strWhat runs: “packages”, “script”, “command”, “nix”, “native”, “profile”.
origin: StringWhere the installer comes from.
file: Option<String>The installer file, relative to the scripts folder.
sha256: Option<String>§licence: Option<String>The installer’s licence.
software_licence: Option<String>The software’s licence, as its package manager reports it.
provenance: Vec<Fact>The release HelixForge build the installer ships in.
integrity: Vec<Fact>What checks the packages it installs.
downloads: Vec<Fact>What the installer downloads itself.
privileges: Vec<String>What it does with elevated privileges.
validation: AssessmentTrait Implementations§
Source§impl Clone for Inspection
impl Clone for Inspection
Source§impl Debug for Inspection
impl Debug for Inspection
Auto Trait Implementations§
impl Freeze for Inspection
impl RefUnwindSafe for Inspection
impl Send for Inspection
impl Sync for Inspection
impl Unpin for Inspection
impl UnsafeUnpin for Inspection
impl UnwindSafe for Inspection
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.