pub enum SubagentSource {
Builtin,
User,
Project,
Cli,
Plugin(String),
}Expand description
Source location of a subagent definition
Variants§
Builtin
Built-in subagent shipped with the binary
User
User-level subagent from ~/.vtcode/agents/
Project
Project-level subagent from .vtcode/agents/
Cli
CLI-defined subagent via –agents flag
Plugin(String)
Plugin-provided subagent
Trait Implementations§
Source§impl Clone for SubagentSource
impl Clone for SubagentSource
Source§fn clone(&self) -> SubagentSource
fn clone(&self) -> SubagentSource
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 SubagentSource
impl Debug for SubagentSource
Source§impl<'de> Deserialize<'de> for SubagentSource
impl<'de> Deserialize<'de> for SubagentSource
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
Source§impl Display for SubagentSource
impl Display for SubagentSource
Source§impl PartialEq for SubagentSource
impl PartialEq for SubagentSource
Source§impl Serialize for SubagentSource
impl Serialize for SubagentSource
impl Eq for SubagentSource
impl StructuralPartialEq for SubagentSource
Auto Trait Implementations§
impl Freeze for SubagentSource
impl RefUnwindSafe for SubagentSource
impl Send for SubagentSource
impl Sync for SubagentSource
impl Unpin for SubagentSource
impl UnwindSafe for SubagentSource
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.