pub struct CommandBinding {
pub agent: Option<String>,
pub fleet: Option<String>,
pub flow: Option<String>,
pub description: String,
}Expand description
Command binding - routes a slash command to an agent, fleet, or flow
Fields§
§agent: Option<String>Route to a specific agent
fleet: Option<String>Route to a fleet (multi-agent team)
flow: Option<String>Route to a flow (multi-step workflow)
description: StringDescription for help text
Trait Implementations§
Source§impl Clone for CommandBinding
impl Clone for CommandBinding
Source§fn clone(&self) -> CommandBinding
fn clone(&self) -> CommandBinding
Returns a duplicate of the value. Read more
1.0.0 · 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 CommandBinding
impl Debug for CommandBinding
Source§impl<'de> Deserialize<'de> for CommandBinding
impl<'de> Deserialize<'de> for CommandBinding
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
Auto Trait Implementations§
impl Freeze for CommandBinding
impl RefUnwindSafe for CommandBinding
impl Send for CommandBinding
impl Sync for CommandBinding
impl Unpin for CommandBinding
impl UnwindSafe for CommandBinding
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