pub struct NextAction {
pub command: String,
pub description: String,
pub params: HashMap<String, NextActionParam>,
}Expand description
A suggested follow-up command the caller can run next.
Fields§
§command: StringExecutable command template, e.g. "application info --name {{name}}".
description: StringHuman-readable description of what this action does.
params: HashMap<String, NextActionParam>Optional parameter hints for agent-driven invocation.
Implementations§
Source§impl NextAction
impl NextAction
Trait Implementations§
Source§impl Clone for NextAction
impl Clone for NextAction
Source§fn clone(&self) -> NextAction
fn clone(&self) -> NextAction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NextAction
impl Debug for NextAction
Source§impl<'de> Deserialize<'de> for NextAction
impl<'de> Deserialize<'de> for NextAction
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 NextAction
Source§impl PartialEq for NextAction
impl PartialEq for NextAction
Source§fn eq(&self, other: &NextAction) -> bool
fn eq(&self, other: &NextAction) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for NextAction
impl Serialize for NextAction
impl StructuralPartialEq for NextAction
Auto Trait Implementations§
impl Freeze for NextAction
impl RefUnwindSafe for NextAction
impl Send for NextAction
impl Sync for NextAction
impl Unpin for NextAction
impl UnsafeUnpin for NextAction
impl UnwindSafe for NextAction
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