pub struct DecisionSnapshot {
pub input_digests: Vec<String>,
pub instance_config_version: String,
pub policy_version: String,
pub capability_versions: Vec<CapabilityPin>,
pub execution_profile_revision_id: String,
pub context_snapshot: Value,
pub policy_snapshot: Value,
pub agent_provenance: Value,
}Expand description
Everything a decision depended on, for replay and audit.
Fields§
§input_digests: Vec<String>Digests of the inputs.
instance_config_version: StringConfig version.
policy_version: StringProduct policy version that granted it.
capability_versions: Vec<CapabilityPin>Capabilities in force.
execution_profile_revision_id: StringExecution profile revision in force.
context_snapshot: ValueContext values used.
policy_snapshot: ValuePolicy values used.
agent_provenance: ValueWhich Agent artifacts influenced the decision.
Trait Implementations§
Source§impl Clone for DecisionSnapshot
impl Clone for DecisionSnapshot
Source§fn clone(&self) -> DecisionSnapshot
fn clone(&self) -> DecisionSnapshot
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 DecisionSnapshot
impl Debug for DecisionSnapshot
Source§impl<'de> Deserialize<'de> for DecisionSnapshot
impl<'de> Deserialize<'de> for DecisionSnapshot
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
Source§impl PartialEq for DecisionSnapshot
impl PartialEq for DecisionSnapshot
Source§impl Serialize for DecisionSnapshot
impl Serialize for DecisionSnapshot
impl StructuralPartialEq for DecisionSnapshot
Auto Trait Implementations§
impl Freeze for DecisionSnapshot
impl RefUnwindSafe for DecisionSnapshot
impl Send for DecisionSnapshot
impl Sync for DecisionSnapshot
impl Unpin for DecisionSnapshot
impl UnsafeUnpin for DecisionSnapshot
impl UnwindSafe for DecisionSnapshot
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