pub struct AgentCommand {
pub name: String,
}Expand description
A slash command advertised by an ACP session. The renderer intentionally keeps only the command name at the shared event boundary; descriptions and input hints are provider-specific presentation data and are not needed to dispatch or complete a command.
Fields§
§name: StringTrait Implementations§
Source§impl Clone for AgentCommand
impl Clone for AgentCommand
Source§fn clone(&self) -> AgentCommand
fn clone(&self) -> AgentCommand
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 AgentCommand
impl Debug for AgentCommand
Source§impl<'de> Deserialize<'de> for AgentCommand
impl<'de> Deserialize<'de> for AgentCommand
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 AgentCommand
Source§impl PartialEq for AgentCommand
impl PartialEq for AgentCommand
Source§impl Serialize for AgentCommand
impl Serialize for AgentCommand
impl StructuralPartialEq for AgentCommand
Auto Trait Implementations§
impl Freeze for AgentCommand
impl RefUnwindSafe for AgentCommand
impl Send for AgentCommand
impl Sync for AgentCommand
impl Unpin for AgentCommand
impl UnsafeUnpin for AgentCommand
impl UnwindSafe for AgentCommand
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