pub struct StepVerdict {
pub step_index: usize,
pub verdict: StepVerdictKind,
pub reason: Option<String>,
pub guard: Option<String>,
}Expand description
Verdict for a single step in a submitted plan.
Fields§
§step_index: usizeZero-based index of the step in the original submission order.
verdict: StepVerdictKindPer-step allow/deny verdict.
reason: Option<String>Human-readable reason, populated on deny and omitted on allow.
guard: Option<String>Name of the guard that denied the step, when denial came from
the pre-invocation guard pipeline. None for allows and for
denials stemming from capability/scope checks.
Trait Implementations§
Source§impl Clone for StepVerdict
impl Clone for StepVerdict
Source§fn clone(&self) -> StepVerdict
fn clone(&self) -> StepVerdict
Returns a duplicate of the value. Read more
1.0.0 · 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 StepVerdict
impl Debug for StepVerdict
Source§impl<'de> Deserialize<'de> for StepVerdict
impl<'de> Deserialize<'de> for StepVerdict
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<StepVerdict, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<StepVerdict, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for StepVerdict
impl Serialize for StepVerdict
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for StepVerdict
impl RefUnwindSafe for StepVerdict
impl Send for StepVerdict
impl Sync for StepVerdict
impl Unpin for StepVerdict
impl UnsafeUnpin for StepVerdict
impl UnwindSafe for StepVerdict
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