pub struct PackResult {
pub format: PackFormat,
pub content: String,
pub token_count: usize,
pub files_included: Vec<Utf8PathBuf>,
pub files_truncated: Vec<Utf8PathBuf>,
pub files_omitted: Vec<Utf8PathBuf>,
}Expand description
The result of a successful pack operation.
Fields§
§format: PackFormat§content: StringThe rendered output string (XML or markdown).
token_count: usizeToken count of the final output as measured by the default tokenizer.
files_included: Vec<Utf8PathBuf>Files that were included in full.
files_truncated: Vec<Utf8PathBuf>Files that were included but truncated to fit the budget.
files_omitted: Vec<Utf8PathBuf>Files that could not be included at all under the budget.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PackResult
impl RefUnwindSafe for PackResult
impl Send for PackResult
impl Sync for PackResult
impl Unpin for PackResult
impl UnsafeUnpin for PackResult
impl UnwindSafe for PackResult
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