pub struct ReprocessResult {
pub total_pages: usize,
pub success_count: usize,
pub failed_count: usize,
pub reprocessed_count: usize,
pub output_path: Option<PathBuf>,
pub failed_pages: Vec<usize>,
}Expand description
Reprocess result
Fields§
§total_pages: usizeTotal pages in document
success_count: usizePages successfully processed
failed_count: usizePages still failing
reprocessed_count: usizePages reprocessed this run
output_path: Option<PathBuf>Final output path (if complete)
failed_pages: Vec<usize>Remaining failed page indices
Implementations§
Source§impl ReprocessResult
impl ReprocessResult
Sourcepub fn is_complete(&self) -> bool
pub fn is_complete(&self) -> bool
Check if processing is complete
Sourcepub fn completion_percent(&self) -> f64
pub fn completion_percent(&self) -> f64
Get completion percentage
Trait Implementations§
Source§impl Clone for ReprocessResult
impl Clone for ReprocessResult
Source§fn clone(&self) -> ReprocessResult
fn clone(&self) -> ReprocessResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ReprocessResult
impl RefUnwindSafe for ReprocessResult
impl Send for ReprocessResult
impl Sync for ReprocessResult
impl Unpin for ReprocessResult
impl UnwindSafe for ReprocessResult
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