pub enum TaskType {
CodeReview,
TestGeneration,
Documentation,
Refactoring,
SecurityAnalysis,
}Expand description
Type of task an agent can perform
This enum defines the different types of tasks that agents can handle. Each task type represents a specific kind of analysis or transformation.
Variants§
CodeReview
Code review task - analyzes code for quality, security, and best practices
TestGeneration
Test generation task - generates tests for code
Documentation
Documentation task - generates or updates documentation
Refactoring
Refactoring task - suggests or performs code refactoring
SecurityAnalysis
Security analysis task - analyzes code for security vulnerabilities
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TaskType
impl<'de> Deserialize<'de> for TaskType
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 Copy for TaskType
impl Eq for TaskType
impl StructuralPartialEq for TaskType
Auto Trait Implementations§
impl Freeze for TaskType
impl RefUnwindSafe for TaskType
impl Send for TaskType
impl Sync for TaskType
impl Unpin for TaskType
impl UnwindSafe for TaskType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.