pub struct CommandItem {
pub id: String,
pub name: String,
pub display_name: String,
pub description: String,
pub command_type: String,
pub category: Option<String>,
pub tags: Option<Vec<String>>,
pub metadata: Value,
}Expand description
Represents a unified command item from workflows, skills, and MCP tools.
Fields§
§id: String§name: String§display_name: String§description: String§command_type: String§category: Option<String>§metadata: ValueTrait Implementations§
Source§impl Debug for CommandItem
impl Debug for CommandItem
Auto Trait Implementations§
impl Freeze for CommandItem
impl RefUnwindSafe for CommandItem
impl Send for CommandItem
impl Sync for CommandItem
impl Unpin for CommandItem
impl UnsafeUnpin for CommandItem
impl UnwindSafe for CommandItem
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