pub struct PackOptions {Show 14 fields
pub preset: Preset,
pub budget: Budget,
pub tokenizer: Tokenizer,
pub format: Format,
pub expand_mode: ExpandMode,
pub scrub: bool,
pub include_paths: Vec<String>,
pub exclude_paths: Vec<String>,
pub diff_range: Option<String>,
pub project_root: Option<PathBuf>,
pub stdin_prompt: Option<String>,
pub files_from: Vec<PathBuf>,
pub impact_findings: Vec<Finding>,
pub impact_per_finding: bool,
}Expand description
Resolved pack inputs shared by CLI, MCP, and embedded callers.
Front-ends should translate their own argument/config shape into this
struct, then hand it to crate::pack::PackBuilder. This keeps option
precedence out of the pack assembly pipeline.
Fields§
§preset: Preset§budget: Budget§tokenizer: Tokenizer§format: Format§expand_mode: ExpandMode§scrub: bool§include_paths: Vec<String>§exclude_paths: Vec<String>§diff_range: Option<String>§project_root: Option<PathBuf>§stdin_prompt: Option<String>§files_from: Vec<PathBuf>§impact_findings: Vec<Finding>§impact_per_finding: boolTrait Implementations§
Source§impl Clone for PackOptions
impl Clone for PackOptions
Source§fn clone(&self) -> PackOptions
fn clone(&self) -> PackOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PackOptions
impl Debug for PackOptions
Auto Trait Implementations§
impl Freeze for PackOptions
impl RefUnwindSafe for PackOptions
impl Send for PackOptions
impl Sync for PackOptions
impl Unpin for PackOptions
impl UnsafeUnpin for PackOptions
impl UnwindSafe for PackOptions
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more