pub struct ExtractArgs {
pub input: String,
pub schema: String,
pub checkpoint_id: Option<String>,
pub mode: String,
pub max_pages: Option<u32>,
pub page_range: Option<String>,
pub save_checkpoint: bool,
pub include_scores: bool,
pub skip_cache: bool,
pub output: Option<PathBuf>,
pub timeout: u64,
}Fields§
§input: StringFile path or URL to extract from
schema: StringJSON schema file or string defining extraction fields
checkpoint_id: Option<String>Checkpoint ID to reuse parsed document
mode: StringProcessing mode: fast, balanced, accurate
max_pages: Option<u32>Maximum pages to process
page_range: Option<String>Page range (e.g., “0-5,10”)
save_checkpoint: boolSave checkpoint for reuse
include_scores: boolInclude per-field confidence scores
skip_cache: boolSkip local cache lookup
output: Option<PathBuf>Write result to file
timeout: u64Request timeout in seconds
Trait Implementations§
Source§impl Args for ExtractArgs
impl Args for ExtractArgs
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl Debug for ExtractArgs
impl Debug for ExtractArgs
Source§impl FromArgMatches for ExtractArgs
impl FromArgMatches for ExtractArgs
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Auto Trait Implementations§
impl Freeze for ExtractArgs
impl RefUnwindSafe for ExtractArgs
impl Send for ExtractArgs
impl Sync for ExtractArgs
impl Unpin for ExtractArgs
impl UnsafeUnpin for ExtractArgs
impl UnwindSafe for ExtractArgs
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