pub enum Profile {
Kg,
Retrieval,
CodeIntel,
Crew,
Everything,
}Variants§
Implementations§
Source§impl Profile
impl Profile
Sourcepub fn tools(self) -> Vec<ToolName>
pub fn tools(self) -> Vec<ToolName>
Every tool a NEW plan for this profile selects: the built-ins, then the embedded stack members that declare this profile, in name order.
Sourcepub fn accepts(self, tools: &[ToolName]) -> bool
pub fn accepts(self, tools: &[ToolName]) -> bool
Whether tools is a valid selection for this profile: the built-ins
exactly, then any members of this profile in name order. A selection
saved before a member existed stays valid after an upgrade adds one
(wu M1, aegis-1i5h1j); an undeclared, duplicate or out-of-order member
is refused.
Sourcepub fn builtin_tools(self) -> Vec<ToolName>
pub fn builtin_tools(self) -> Vec<ToolName>
The built-in tools of this profile, which every plan for it must list.
Trait Implementations§
impl Copy for Profile
Source§impl<'de> Deserialize<'de> for Profile
impl<'de> Deserialize<'de> for Profile
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 Eq for Profile
impl StructuralPartialEq for Profile
Auto Trait Implementations§
impl Freeze for Profile
impl RefUnwindSafe for Profile
impl Send for Profile
impl Sync for Profile
impl Unpin for Profile
impl UnsafeUnpin for Profile
impl UnwindSafe for Profile
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.