pub struct Taint {
pub secrets: Vec<Secret>,
pub untrusted: Option<String>,
pub private: Option<String>,
pub seen: Option<String>,
}Expand description
What earlier calls of one session exposed it to.
Fields§
§secrets: Vec<Secret>Secret material the session read, de-duplicated by source.
untrusted: Option<String>The first untrusted content the session read (fetch docs.rs), if any.
private: Option<String>The first private data the session read other than secret material:
an agent’s or a build tool’s credentials, a decoy key, the whole
environment, a file taint.private_paths names (ADR-113).
seen: Option<String>The first output the session read that someone else may have written:
what untrusted counts, and also a forge’s issue and pull-request text
and a command’s read from a host the policy does not allow
(CompiledPolicy::output_source, ADR-057). Not a metadata tool’s
result. One part of the lethal trifecta (ADR-113).
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Taint
impl<'de> Deserialize<'de> for Taint
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 Taint
impl StructuralPartialEq for Taint
Auto Trait Implementations§
impl Forget for Taint
impl Freeze for Taint
impl Move for Taint
impl RefUnwindSafe for Taint
impl Send for Taint
impl Sync for Taint
impl Unpin for Taint
impl UnsafeUnpin for Taint
impl UnwindSafe for Taint
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