pub struct OutputState {
pub downloaded_guids: HashSet<String>,
pub existing_files: HashSet<String>,
pub output_dir: PathBuf,
pub partial_files_cleaned: usize,
}Expand description
State of the output directory, tracking already-downloaded episodes
Fields§
§downloaded_guids: HashSet<String>GUIDs of episodes that have been downloaded
existing_files: HashSet<String>Filenames (without path) of existing files
output_dir: PathBufThe output directory path
partial_files_cleaned: usizeNumber of partial files that were cleaned up during scan
Trait Implementations§
Source§impl Clone for OutputState
impl Clone for OutputState
Source§fn clone(&self) -> OutputState
fn clone(&self) -> OutputState
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 OutputState
impl RefUnwindSafe for OutputState
impl Send for OutputState
impl Sync for OutputState
impl Unpin for OutputState
impl UnwindSafe for OutputState
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