pub struct RunEnvironment {
pub scrubbed: bool,
pub why: String,
pub passed: Vec<String>,
pub withheld: Vec<String>,
pub brokered: Vec<String>,
}Expand description
What of the environment openmoat run was started from reaches the
program it starts (ADR-105). Names only: a value is never in the record.
Fields§
§scrubbed: boolWhether only the allowlist passes, rather than every inherited name.
why: StringWhat chose it, in the words the run notice uses.
passed: Vec<String>Scrubbed: the inherited names that pass, sorted. Inherited: empty, since every name passes, a brokered secret’s excepted.
withheld: Vec<String>The inherited names the program does not get, sorted; empty when the environment is inherited.
brokered: Vec<String>The names that hold a brokered secret’s placeholder instead of its value (ADR-020), sorted.
Trait Implementations§
Source§impl Clone for RunEnvironment
impl Clone for RunEnvironment
Source§impl Debug for RunEnvironment
impl Debug for RunEnvironment
Source§impl<'de> Deserialize<'de> for RunEnvironment
impl<'de> Deserialize<'de> for RunEnvironment
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 RunEnvironment
Source§impl PartialEq for RunEnvironment
impl PartialEq for RunEnvironment
Source§impl Serialize for RunEnvironment
impl Serialize for RunEnvironment
impl StructuralPartialEq for RunEnvironment
Auto Trait Implementations§
impl Forget for RunEnvironment
impl Freeze for RunEnvironment
impl Move for RunEnvironment
impl RefUnwindSafe for RunEnvironment
impl Send for RunEnvironment
impl Sync for RunEnvironment
impl Unpin for RunEnvironment
impl UnsafeUnpin for RunEnvironment
impl UnwindSafe for RunEnvironment
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