pub struct AgentDefinition {
pub identity: String,
pub name: String,
pub short_name: String,
pub aliases: Vec<String>,
pub adapter: AdapterKind,
pub command: String,
pub detect_command: Option<String>,
pub full_access_startup_argument: Option<String>,
pub active: bool,
}Expand description
A launchable agent entry.
Fields§
§identity: String§name: String§short_name: String§aliases: Vec<String>§adapter: AdapterKind§command: String§detect_command: Option<String>§full_access_startup_argument: Option<String>Optional argument appended when launching a native adapter in its default full-access mode. This mirrors the Python catalog field while keeping custom adapters free to omit it.
active: boolImplementations§
Trait Implementations§
Source§impl Clone for AgentDefinition
impl Clone for AgentDefinition
Source§fn clone(&self) -> AgentDefinition
fn clone(&self) -> AgentDefinition
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 AgentDefinition
impl Debug for AgentDefinition
Source§impl<'de> Deserialize<'de> for AgentDefinition
impl<'de> Deserialize<'de> for AgentDefinition
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 AgentDefinition
Source§impl PartialEq for AgentDefinition
impl PartialEq for AgentDefinition
Source§impl Serialize for AgentDefinition
impl Serialize for AgentDefinition
impl StructuralPartialEq for AgentDefinition
Auto Trait Implementations§
impl Freeze for AgentDefinition
impl RefUnwindSafe for AgentDefinition
impl Send for AgentDefinition
impl Sync for AgentDefinition
impl Unpin for AgentDefinition
impl UnsafeUnpin for AgentDefinition
impl UnwindSafe for AgentDefinition
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