pub enum ApprovalKind {
Command,
CommandOnce,
GoalConfirmation,
AutopilotConfirmation,
Handoff,
}Expand description
Distinguishes different kinds of approval requests so channels can render appropriate buttons (e.g., Allow Once / Deny for commands vs Confirm / Cancel for scheduled-goal confirmations).
Variants§
Command
Standard command approval (Allow Once / Allow Session / Allow Always / Deny).
CommandOnce
Point-of-action approval that can authorize only this invocation. Channels must not offer session or persistent approval buttons.
GoalConfirmation
Scheduled-goal confirmation (Confirm / Cancel).
AutopilotConfirmation
Exact owner confirmation for a persisted Autopilot mandate policy. Kept distinct so channels never infer high-autonomy presentation from user or model prose.
Handoff
The agent asks the owner to do something themselves on a live surface (sign in, enter a code): Done or Not now, this one time only.
Trait Implementations§
Source§impl Clone for ApprovalKind
impl Clone for ApprovalKind
impl Copy for ApprovalKind
Source§impl Debug for ApprovalKind
impl Debug for ApprovalKind
Auto Trait Implementations§
impl Forget for ApprovalKind
impl Freeze for ApprovalKind
impl Move for ApprovalKind
impl RefUnwindSafe for ApprovalKind
impl Send for ApprovalKind
impl Sync for ApprovalKind
impl Unpin for ApprovalKind
impl UnsafeUnpin for ApprovalKind
impl UnwindSafe for ApprovalKind
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