pub enum AgentInfoSource {
User,
Project,
Inherited,
Remote,
Plugin,
Builtin,
Unknown,
}Expand description
Where the agent definition was loaded from
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Variants§
User
Agent loaded from the user’s personal agent configuration.
Project
Agent loaded from the current project’s repository configuration.
Inherited
Agent inherited from a parent project or workspace.
Remote
Agent provided by a remote runtime or service.
Plugin
Agent contributed by an installed plugin.
Builtin
Agent built into the Copilot runtime.
Unknown
Unknown variant for forward compatibility.
Trait Implementations§
Source§impl Clone for AgentInfoSource
impl Clone for AgentInfoSource
Source§fn clone(&self) -> AgentInfoSource
fn clone(&self) -> AgentInfoSource
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 AgentInfoSource
impl Debug for AgentInfoSource
Source§impl Default for AgentInfoSource
impl Default for AgentInfoSource
Source§fn default() -> AgentInfoSource
fn default() -> AgentInfoSource
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AgentInfoSource
impl<'de> Deserialize<'de> for AgentInfoSource
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 AgentInfoSource
Source§impl PartialEq for AgentInfoSource
impl PartialEq for AgentInfoSource
Source§fn eq(&self, other: &AgentInfoSource) -> bool
fn eq(&self, other: &AgentInfoSource) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AgentInfoSource
impl Serialize for AgentInfoSource
impl StructuralPartialEq for AgentInfoSource
Auto Trait Implementations§
impl Freeze for AgentInfoSource
impl RefUnwindSafe for AgentInfoSource
impl Send for AgentInfoSource
impl Sync for AgentInfoSource
impl Unpin for AgentInfoSource
impl UnsafeUnpin for AgentInfoSource
impl UnwindSafe for AgentInfoSource
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