pub struct EnvironmentEvidence {
pub parent_env_count: usize,
pub child_env_count: usize,
pub removed_env_count: usize,
pub safe_baseline_injected: Vec<String>,
pub secrets_injected: Vec<InjectedSecretEvidence>,
pub sensitive_env_denied: Vec<DeniedSensitiveEnvEvidence>,
}Expand description
Aggregate environment diff between parent and child processes.
parent_env_count and child_env_count are total entry counts in each
process’s env block. removed_env_count is the count of entries that
existed in the parent but were stripped from the child — this must
satisfy the invariant removed_env_count == parent_env_count - child_env_count (see RunEvidence::validation_errors).
Fields§
§parent_env_count: usize§child_env_count: usize§removed_env_count: usize§safe_baseline_injected: Vec<String>§secrets_injected: Vec<InjectedSecretEvidence>§sensitive_env_denied: Vec<DeniedSensitiveEnvEvidence>Trait Implementations§
Source§impl Clone for EnvironmentEvidence
impl Clone for EnvironmentEvidence
Source§fn clone(&self) -> EnvironmentEvidence
fn clone(&self) -> EnvironmentEvidence
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 EnvironmentEvidence
impl Debug for EnvironmentEvidence
Source§impl<'de> Deserialize<'de> for EnvironmentEvidence
impl<'de> Deserialize<'de> for EnvironmentEvidence
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
impl Eq for EnvironmentEvidence
Source§impl PartialEq for EnvironmentEvidence
impl PartialEq for EnvironmentEvidence
Source§fn eq(&self, other: &EnvironmentEvidence) -> bool
fn eq(&self, other: &EnvironmentEvidence) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for EnvironmentEvidence
impl Serialize for EnvironmentEvidence
impl StructuralPartialEq for EnvironmentEvidence
Auto Trait Implementations§
impl Freeze for EnvironmentEvidence
impl RefUnwindSafe for EnvironmentEvidence
impl Send for EnvironmentEvidence
impl Sync for EnvironmentEvidence
impl Unpin for EnvironmentEvidence
impl UnsafeUnpin for EnvironmentEvidence
impl UnwindSafe for EnvironmentEvidence
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.