pub enum AgentAction {
Approve {
request_id: String,
},
ApproveWithEdit {
request_id: String,
edited_value: String,
},
Reject {
request_id: String,
reason: Option<String>,
},
Pause,
Resume,
Abort,
}Expand description
Actions sent from TUI to Orchestrator
Variants§
Approve
Approve a pending request
ApproveWithEdit
Approve with an edited value (e.g., project name)
Reject
Reject a pending request
Pause
Pause orchestration
Resume
Resume orchestration
Abort
Abort the entire session
Trait Implementations§
Source§impl Clone for AgentAction
impl Clone for AgentAction
Source§fn clone(&self) -> AgentAction
fn clone(&self) -> AgentAction
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 AgentAction
impl Debug for AgentAction
Source§impl<'de> Deserialize<'de> for AgentAction
impl<'de> Deserialize<'de> for AgentAction
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
Auto Trait Implementations§
impl Freeze for AgentAction
impl RefUnwindSafe for AgentAction
impl Send for AgentAction
impl Sync for AgentAction
impl Unpin for AgentAction
impl UnwindSafe for AgentAction
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