pub struct AgentName(/* private fields */);Expand description
Agent 名称 — 唯一标识符。
命名约定:snake_case,如 "build", "explore", "title"。
用于注册表查找和 subagent 调度。
§Examples
use katu_core::AgentName;
let name = AgentName::new("explore");
assert_eq!(name.as_str(), "explore");Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AgentName
impl<'de> Deserialize<'de> for AgentName
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 AgentName
impl StructuralPartialEq for AgentName
Auto Trait Implementations§
impl Freeze for AgentName
impl RefUnwindSafe for AgentName
impl Send for AgentName
impl Sync for AgentName
impl Unpin for AgentName
impl UnsafeUnpin for AgentName
impl UnwindSafe for AgentName
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