pub struct Description {
pub query: Query,
pub executable: PathBuf,
pub arguments: Vec<String>,
pub working_directory: &'static str,
pub home: PathBuf,
pub trusted_search_path: Vec<PathBuf>,
pub npm_binding: Option<NpmBinding>,
pub npm_global_prefix: Option<PathBuf>,
pub warning: &'static str,
pub output_limit_bytes: usize,
pub timeout_seconds: u64,
}Expand description
Inspectable description; deserializing a report never grants execution authority.
Fields§
§query: Query§executable: PathBuf§arguments: Vec<String>§working_directory: &'static str§home: PathBuf§trusted_search_path: Vec<PathBuf>§npm_binding: Option<NpmBinding>§npm_global_prefix: Option<PathBuf>Reported global prefix for standalone inventory, never a runtime binding.
warning: &'static str§output_limit_bytes: usize§timeout_seconds: u64Trait Implementations§
Source§impl Clone for Description
impl Clone for Description
Source§impl Debug for Description
impl Debug for Description
Auto Trait Implementations§
impl Forget for Description
impl Freeze for Description
impl Move for Description
impl RefUnwindSafe for Description
impl Send for Description
impl Sync for Description
impl Unpin for Description
impl UnsafeUnpin for Description
impl UnwindSafe for Description
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