pub enum RoleProfile {
Analysis,
Coding,
Verification,
Testing,
Pr,
Scanning,
}Expand description
Predefined role profiles
Variants§
Analysis
Analysis and planning
Coding
Coding and implementation
Verification
Verification and validation
Testing
Testing (integration and E2E)
Pr
PR management
Scanning
Security scanning
Implementations§
Source§impl RoleProfile
impl RoleProfile
Sourcepub fn default_capabilities(&self) -> HashSet<Capability>
pub fn default_capabilities(&self) -> HashSet<Capability>
Get the default capabilities for this role
Sourcepub fn default_restrictions(&self) -> Vec<Restriction>
pub fn default_restrictions(&self) -> Vec<Restriction>
Get default restrictions for this role
Sourcepub fn recommended_model_profile(&self) -> &'static str
pub fn recommended_model_profile(&self) -> &'static str
Get recommended model profile for this role
Sourcepub fn description(&self) -> &'static str
pub fn description(&self) -> &'static str
Get description of this role
Trait Implementations§
Source§impl Clone for RoleProfile
impl Clone for RoleProfile
Source§fn clone(&self) -> RoleProfile
fn clone(&self) -> RoleProfile
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 RoleProfile
impl Debug for RoleProfile
Source§impl<'de> Deserialize<'de> for RoleProfile
impl<'de> Deserialize<'de> for RoleProfile
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
Source§impl PartialEq for RoleProfile
impl PartialEq for RoleProfile
Source§impl Serialize for RoleProfile
impl Serialize for RoleProfile
impl Copy for RoleProfile
impl Eq for RoleProfile
impl StructuralPartialEq for RoleProfile
Auto Trait Implementations§
impl Freeze for RoleProfile
impl RefUnwindSafe for RoleProfile
impl Send for RoleProfile
impl Sync for RoleProfile
impl Unpin for RoleProfile
impl UnsafeUnpin for RoleProfile
impl UnwindSafe for RoleProfile
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.