pub enum Arguments {
Actions {
actions: Vec<Action>,
batched: bool,
},
Single {
fields: Vec<Field>,
},
}Expand description
The declarative arguments shared by chat, MCP and generated commands.
Variants§
Implementations§
Source§impl Arguments
impl Arguments
Sourcepub fn input_schema(&self) -> Value
pub fn input_schema(&self) -> Value
Derives the JSON Schema exposed to model-facing surfaces.
Sourcepub fn action_names(&self) -> Vec<&'static str>
pub fn action_names(&self) -> Vec<&'static str>
Stable action names used by documentation and generated command inventories.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Arguments
impl Freeze for Arguments
impl Move for Arguments
impl RefUnwindSafe for Arguments
impl Send for Arguments
impl Sync for Arguments
impl Unpin for Arguments
impl UnsafeUnpin for Argumentswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<Action>: UnsafeUnpin,
PhantomData<Field>: UnsafeUnpin,
impl UnwindSafe for Arguments
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