pub struct EnvironmentReport {
pub mode: ReportMode,
pub host_values_revealed: bool,
pub release_variable_count: usize,
pub conflict_count: usize,
pub dangerous_host_variables: Vec<String>,
pub remaining_variable_count: usize,
pub variables: Vec<EnvironmentVariableReport>,
}Expand description
A diagnostic snapshot of the environment a box would run with.
Fields§
§mode: ReportModeWhether every variable is listed, or only the actionable ones.
host_values_revealed: boolWhether inherited host values are shown rather than masked.
release_variable_count: usizeHow many variables the signed release declares.
conflict_count: usizeHow many variables more than one source supplied a different value for.
dangerous_host_variables: Vec<String>Inherited variables that can change which code the interpreter loads.
remaining_variable_count: usizeVariables omitted from a compact summary.
variables: Vec<EnvironmentVariableReport>The variables the report lists.
Implementations§
Source§impl EnvironmentReport
impl EnvironmentReport
Sourcepub fn is_worth_reporting(&self) -> bool
pub fn is_worth_reporting(&self) -> bool
Whether the compact default has anything actionable to say.
Trait Implementations§
Source§impl Clone for EnvironmentReport
impl Clone for EnvironmentReport
Source§fn clone(&self) -> EnvironmentReport
fn clone(&self) -> EnvironmentReport
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 EnvironmentReport
impl Debug for EnvironmentReport
impl Eq for EnvironmentReport
Source§impl PartialEq for EnvironmentReport
impl PartialEq for EnvironmentReport
impl StructuralPartialEq for EnvironmentReport
Auto Trait Implementations§
impl Freeze for EnvironmentReport
impl RefUnwindSafe for EnvironmentReport
impl Send for EnvironmentReport
impl Sync for EnvironmentReport
impl Unpin for EnvironmentReport
impl UnsafeUnpin for EnvironmentReport
impl UnwindSafe for EnvironmentReport
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.