pub struct TechRecommendation {
pub technology: String,
pub domain: String,
pub use_cases: Vec<String>,
pub pros: Vec<String>,
pub cons: Vec<String>,
pub alternatives: Vec<String>,
}Expand description
A technology recommendation
This struct represents a recommendation for a specific technology, including use cases, pros, cons, and alternatives.
§Examples
ⓘ
use ricecoder_agents::domain::TechRecommendation;
let recommendation = TechRecommendation {
technology: "React".to_string(),
domain: "web".to_string(),
use_cases: vec!["Single Page Applications".to_string()],
pros: vec!["Large ecosystem".to_string()],
cons: vec!["Steep learning curve".to_string()],
alternatives: vec!["Vue".to_string(), "Angular".to_string()],
};Fields§
§technology: StringTechnology name
domain: StringDomain this recommendation applies to
use_cases: Vec<String>Use cases for this technology
pros: Vec<String>Pros of using this technology
cons: Vec<String>Cons of using this technology
alternatives: Vec<String>Alternative technologies
Trait Implementations§
Source§impl Clone for TechRecommendation
impl Clone for TechRecommendation
Source§fn clone(&self) -> TechRecommendation
fn clone(&self) -> TechRecommendation
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 TechRecommendation
impl Debug for TechRecommendation
Source§impl<'de> Deserialize<'de> for TechRecommendation
impl<'de> Deserialize<'de> for TechRecommendation
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 TechRecommendation
impl RefUnwindSafe for TechRecommendation
impl Send for TechRecommendation
impl Sync for TechRecommendation
impl Unpin for TechRecommendation
impl UnwindSafe for TechRecommendation
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