pub struct SkillExpansion {
pub text: String,
pub grants: Vec<(String, Option<String>)>,
}Expand description
One invocation’s worth of a skill: the text the conversation receives,
and the (tool, pattern) grants its allowed-tools makes for the rest of
the turn — already narrowed to what its source may grant.
Fields§
§text: String§grants: Vec<(String, Option<String>)>Trait Implementations§
Source§impl Clone for SkillExpansion
impl Clone for SkillExpansion
Source§impl Debug for SkillExpansion
impl Debug for SkillExpansion
Source§impl Default for SkillExpansion
impl Default for SkillExpansion
impl Eq for SkillExpansion
Source§impl PartialEq for SkillExpansion
impl PartialEq for SkillExpansion
impl StructuralPartialEq for SkillExpansion
Auto Trait Implementations§
impl Forget for SkillExpansion
impl Freeze for SkillExpansion
impl Move for SkillExpansion
impl RefUnwindSafe for SkillExpansion
impl Send for SkillExpansionwhere
RawVecInner: Send,
impl Sync for SkillExpansionwhere
RawVecInner: Sync,
impl Unpin for SkillExpansion
impl UnsafeUnpin for SkillExpansionwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<(String, Option<String>)>: UnsafeUnpin,
impl UnwindSafe for SkillExpansionwhere
RawVecInner: UnwindSafe,
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