pub struct DatasetFetchOptions {
pub cache_dir: Option<PathBuf>,
pub cache_mode: CacheMode,
pub archive_mode: ArchiveMode,
}Expand description
Options controlling dataset fetch and cache behavior.
Fields§
§cache_dir: Option<PathBuf>Override the cache directory. When None, a per-user cache directory is
selected automatically.
cache_mode: CacheModeWhether to reuse existing cached files or redownload them.
archive_mode: ArchiveModeHow compressed datasets should be stored locally.
Trait Implementations§
Source§impl Clone for DatasetFetchOptions
impl Clone for DatasetFetchOptions
Source§impl Debug for DatasetFetchOptions
impl Debug for DatasetFetchOptions
Source§impl Default for DatasetFetchOptions
impl Default for DatasetFetchOptions
impl Eq for DatasetFetchOptions
Source§impl PartialEq for DatasetFetchOptions
impl PartialEq for DatasetFetchOptions
impl StructuralPartialEq for DatasetFetchOptions
Auto Trait Implementations§
impl Freeze for DatasetFetchOptions
impl RefUnwindSafe for DatasetFetchOptions
impl Send for DatasetFetchOptions
impl Sync for DatasetFetchOptions
impl Unpin for DatasetFetchOptions
impl UnsafeUnpin for DatasetFetchOptions
impl UnwindSafe for DatasetFetchOptions
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> CliqueRankerExt for T
impl<T> CliqueRankerExt for T
Source§fn then<R>(self, other: R) -> ChainedRanker<Self, R>
fn then<R>(self, other: R) -> ChainedRanker<Self, R>
Chains this ranker with another. The first ranker breaks ties first;
the second ranker is consulted only when the first returns
Equal.Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.