pub struct Command {
pub command_type: String,
pub name: String,
pub description: String,
pub content: String,
pub source: String,
pub plugin: Option<String>,
pub is_hidden: bool,
pub allowed_tools: Vec<String>,
}Expand description
Command definition loaded from a plugin.
Fields§
§command_type: String§name: String§description: String§content: String§source: String§plugin: Option<String>§allowed_tools: Vec<String>Trait Implementations§
Auto Trait Implementations§
impl Freeze for Command
impl RefUnwindSafe for Command
impl Send for Command
impl Sync for Command
impl Unpin for Command
impl UnsafeUnpin for Command
impl UnwindSafe for Command
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