pub struct DomainKnowledge {
pub best_practices: Vec<BestPractice>,
pub technology_recommendations: Vec<TechRecommendation>,
pub patterns: Vec<Pattern>,
pub anti_patterns: Vec<AntiPattern>,
}Expand description
Domain-specific knowledge
This struct contains all the expertise for a specific domain, including best practices, technology recommendations, patterns, and anti-patterns.
§Examples
ⓘ
use ricecoder_agents::domain::DomainKnowledge;
let knowledge = DomainKnowledge {
best_practices: vec![],
technology_recommendations: vec![],
patterns: vec![],
anti_patterns: vec![],
};Fields§
§best_practices: Vec<BestPractice>Best practices for the domain
technology_recommendations: Vec<TechRecommendation>Technology recommendations
patterns: Vec<Pattern>Patterns for the domain
anti_patterns: Vec<AntiPattern>Anti-patterns to avoid
Trait Implementations§
Source§impl Clone for DomainKnowledge
impl Clone for DomainKnowledge
Source§fn clone(&self) -> DomainKnowledge
fn clone(&self) -> DomainKnowledge
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 DomainKnowledge
impl Debug for DomainKnowledge
Source§impl Default for DomainKnowledge
impl Default for DomainKnowledge
Source§fn default() -> DomainKnowledge
fn default() -> DomainKnowledge
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DomainKnowledge
impl<'de> Deserialize<'de> for DomainKnowledge
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 DomainKnowledge
impl RefUnwindSafe for DomainKnowledge
impl Send for DomainKnowledge
impl Sync for DomainKnowledge
impl Unpin for DomainKnowledge
impl UnwindSafe for DomainKnowledge
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