pub struct FilesKey {
pub chat_fnames: Option<Vec<PathBuf>>,
pub other_fnames: Option<Vec<PathBuf>>,
pub max_tokens: usize,
}Expand description
Files mode cache key (SPEC §11).
Fields§
§chat_fnames: Option<Vec<PathBuf>>Sorted chat file paths, or None if empty.
other_fnames: Option<Vec<PathBuf>>Sorted other file paths, or None if empty.
max_tokens: usizeToken budget.
Trait Implementations§
impl Eq for FilesKey
impl StructuralPartialEq for FilesKey
Auto Trait Implementations§
impl Freeze for FilesKey
impl RefUnwindSafe for FilesKey
impl Send for FilesKey
impl Sync for FilesKey
impl Unpin for FilesKey
impl UnsafeUnpin for FilesKey
impl UnwindSafe for FilesKey
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.