#[non_exhaustive]pub enum AgentId {
Show 16 variants
ClaudeCode,
Cursor,
CursorCli,
GeminiCli,
Codex,
Augment,
Cline,
OpenCode,
Trae,
Goose,
Amp,
Devin,
Replit,
Antigravity,
GitHubCopilot,
Unknown,
}Expand description
Canonical identifier for a known agent, or Unknown when an agent is
present but its specific identity can’t be determined (e.g. AGENT=1).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ClaudeCode
Cursor
CursorCli
GeminiCli
Codex
Augment
Cline
OpenCode
Trae
Goose
Amp
Devin
Replit
Antigravity
GitHubCopilot
Unknown
Implementations§
Trait Implementations§
impl Copy for AgentId
impl Eq for AgentId
impl StructuralPartialEq for AgentId
Auto Trait Implementations§
impl Freeze for AgentId
impl RefUnwindSafe for AgentId
impl Send for AgentId
impl Sync for AgentId
impl Unpin for AgentId
impl UnsafeUnpin for AgentId
impl UnwindSafe for AgentId
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