pub struct ExecDecision {
pub disposition: ExecDisposition,
pub is_compilation: bool,
pub mutates_local_state: bool,
pub message: String,
}Expand description
The policy decision plus its message.
Fields§
§disposition: ExecDisposition§is_compilation: bool§mutates_local_state: boolWhether the command mutates local state (formatting, installs, …).
message: StringClear operator/agent-facing message.
Trait Implementations§
Source§impl Clone for ExecDecision
impl Clone for ExecDecision
Source§impl Debug for ExecDecision
impl Debug for ExecDecision
Source§impl<'de> Deserialize<'de> for ExecDecision
impl<'de> Deserialize<'de> for ExecDecision
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 ExecDecision
Source§impl PartialEq for ExecDecision
impl PartialEq for ExecDecision
Source§impl Serialize for ExecDecision
impl Serialize for ExecDecision
impl StructuralPartialEq for ExecDecision
Auto Trait Implementations§
impl Freeze for ExecDecision
impl RefUnwindSafe for ExecDecision
impl Send for ExecDecision
impl Sync for ExecDecision
impl Unpin for ExecDecision
impl UnsafeUnpin for ExecDecision
impl UnwindSafe for ExecDecision
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.