pub struct DomainAgent {
pub id: String,
pub domain: String,
pub capabilities: Vec<DomainCapability>,
pub knowledge: DomainKnowledge,
}Expand description
A domain-specific agent
This struct represents a specialized agent for a specific development domain (web, backend, DevOps, etc.) with domain-specific capabilities and knowledge.
§Examples
ⓘ
use ricecoder_agents::domain::DomainAgent;
let agent = DomainAgent {
id: "web-agent".to_string(),
domain: "web".to_string(),
capabilities: vec![],
knowledge: Default::default(),
};Fields§
§id: StringUnique agent identifier
domain: StringDomain name (e.g., “web”, “backend”, “devops”)
capabilities: Vec<DomainCapability>Agent capabilities
knowledge: DomainKnowledgeDomain knowledge
Trait Implementations§
Source§impl Clone for DomainAgent
impl Clone for DomainAgent
Source§fn clone(&self) -> DomainAgent
fn clone(&self) -> DomainAgent
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 DomainAgent
impl Debug for DomainAgent
Source§impl<'de> Deserialize<'de> for DomainAgent
impl<'de> Deserialize<'de> for DomainAgent
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
Auto Trait Implementations§
impl Freeze for DomainAgent
impl RefUnwindSafe for DomainAgent
impl Send for DomainAgent
impl Sync for DomainAgent
impl Unpin for DomainAgent
impl UnwindSafe for DomainAgent
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