pub struct LoadoutChanges {
pub descriptions: HashMap<String, String>,
pub hidden: HashSet<String>,
}Expand description
pi’s ToolLoadoutChanges: what a loadout hook changes.
Fields§
§descriptions: HashMap<String, String>Descriptions for declared tools, by name, replacing their own.
Declared tools that stay callable but are left out of requests and of the prompt’s tool list.
Trait Implementations§
Source§impl Clone for LoadoutChanges
impl Clone for LoadoutChanges
Source§impl Debug for LoadoutChanges
impl Debug for LoadoutChanges
Source§impl Default for LoadoutChanges
impl Default for LoadoutChanges
impl Eq for LoadoutChanges
Source§impl PartialEq for LoadoutChanges
impl PartialEq for LoadoutChanges
impl StructuralPartialEq for LoadoutChanges
Auto Trait Implementations§
impl Forget for LoadoutChanges
impl Freeze for LoadoutChanges
impl RefUnwindSafe for LoadoutChanges
impl Send for LoadoutChanges
impl Sync for LoadoutChanges
impl Unpin for LoadoutChanges
impl UnsafeUnpin for LoadoutChanges
impl UnwindSafe for LoadoutChanges
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.