pub struct DecisionAction {
pub action_type: DecisionActionType,
pub description: String,
pub command: Option<String>,
pub auto_fixable: bool,
}Expand description
A structured action attached to a surfaced decision (the agent-actionable surface). Mirrors the typed-action shape the rest of fallow emits.
Fields§
§action_type: DecisionActionTypeStable action discriminator.
description: StringHuman-readable description of the action.
command: Option<String>Runnable command or paste-ready suppression comment.
auto_fixable: boolWhether fallow can carry the action out automatically. Always false:
a decision is a human judgment, never auto-applied.
Trait Implementations§
Source§impl Clone for DecisionAction
impl Clone for DecisionAction
Source§impl Debug for DecisionAction
impl Debug for DecisionAction
Auto Trait Implementations§
impl Freeze for DecisionAction
impl RefUnwindSafe for DecisionAction
impl Send for DecisionAction
impl Sync for DecisionAction
impl Unpin for DecisionAction
impl UnsafeUnpin for DecisionAction
impl UnwindSafe for DecisionAction
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