pub struct ArchiveOptions {
pub output: PathBuf,
pub concurrency: usize,
pub skip_existing: bool,
pub filter: Option<String>,
}Expand description
Options controlling archive writes.
Fields§
§output: PathBufDirectory where dataset subdirectories are written.
concurrency: usizeMaximum number of files downloaded at once.
skip_existing: boolSkip a dataset directory when it already exists.
filter: Option<String>Optional substring filter applied to discovered dataset ids and titles.
Implementations§
Trait Implementations§
Source§impl Clone for ArchiveOptions
impl Clone for ArchiveOptions
Source§fn clone(&self) -> ArchiveOptions
fn clone(&self) -> ArchiveOptions
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 ArchiveOptions
impl Debug for ArchiveOptions
Auto Trait Implementations§
impl Freeze for ArchiveOptions
impl RefUnwindSafe for ArchiveOptions
impl Send for ArchiveOptions
impl Sync for ArchiveOptions
impl Unpin for ArchiveOptions
impl UnsafeUnpin for ArchiveOptions
impl UnwindSafe for ArchiveOptions
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