pub struct TargetDecisionChain {
pub command: String,
pub decision_code: String,
pub decision_explanation: String,
pub denial_reason: Option<String>,
}Expand description
Q2: How was the target evaluated?
Fields§
§command: StringThe command that was attempted
decision_code: StringThe decision code (UNCONSTRAINED, ALLOWED_EXACT, ALLOWED_BASENAME, MISSING, DENIED)
decision_explanation: StringHuman-readable explanation of the decision
denial_reason: Option<String>If denied, the reason code and message
Trait Implementations§
Source§impl Clone for TargetDecisionChain
impl Clone for TargetDecisionChain
Source§fn clone(&self) -> TargetDecisionChain
fn clone(&self) -> TargetDecisionChain
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 TargetDecisionChain
impl Debug for TargetDecisionChain
Source§impl<'de> Deserialize<'de> for TargetDecisionChain
impl<'de> Deserialize<'de> for TargetDecisionChain
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 TargetDecisionChain
impl PartialEq for TargetDecisionChain
Source§fn eq(&self, other: &TargetDecisionChain) -> bool
fn eq(&self, other: &TargetDecisionChain) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TargetDecisionChain
impl Serialize for TargetDecisionChain
impl Eq for TargetDecisionChain
impl StructuralPartialEq for TargetDecisionChain
Auto Trait Implementations§
impl Freeze for TargetDecisionChain
impl RefUnwindSafe for TargetDecisionChain
impl Send for TargetDecisionChain
impl Sync for TargetDecisionChain
impl Unpin for TargetDecisionChain
impl UnsafeUnpin for TargetDecisionChain
impl UnwindSafe for TargetDecisionChain
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.