pub struct PostProcConfig {
pub cleanup_after_extract: bool,
pub output_dir: Option<PathBuf>,
pub articles_failed: usize,
pub skip_extract: bool,
pub password: Option<String>,
}Expand description
Configuration for the post-processing pipeline.
Fields§
§cleanup_after_extract: boolRemove par2 and archive files after successful extraction.
output_dir: Option<PathBuf>Directory where extracted files should be placed. If None, extracts into the job directory itself.
articles_failed: usizeNumber of articles that failed during download.
When 0, par2 verification is skipped (files are known-good).
When > 0, par2 repair is run directly (which verifies + repairs
in a single pass), avoiding the redundant verify-then-repair double-scan.
skip_extract: boolWhen true, the extract stage is skipped because direct unpack already handled RAR extraction during the download phase.
password: Option<String>Optional archive password (from NZB metadata or indexer API).
Trait Implementations§
Source§impl Clone for PostProcConfig
impl Clone for PostProcConfig
Source§fn clone(&self) -> PostProcConfig
fn clone(&self) -> PostProcConfig
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 PostProcConfig
impl Debug for PostProcConfig
Auto Trait Implementations§
impl Freeze for PostProcConfig
impl RefUnwindSafe for PostProcConfig
impl Send for PostProcConfig
impl Sync for PostProcConfig
impl Unpin for PostProcConfig
impl UnsafeUnpin for PostProcConfig
impl UnwindSafe for PostProcConfig
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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