pub struct PlatformDownloadOptions {
pub output_path: Option<String>,
pub progress_callback: Option<Arc<dyn Fn(DownloadState) + Send + Sync + 'static>>,
pub tag: Option<String>,
pub regex_patterns: Vec<Regex>,
pub match_keywords: Vec<String>,
pub exclude_keywords: Vec<String>,
pub exact_case: bool,
}Fields§
§output_path: Option<String>§progress_callback: Option<Arc<dyn Fn(DownloadState) + Send + Sync + 'static>>§tag: Option<String>§regex_patterns: Vec<Regex>§match_keywords: Vec<String>§exclude_keywords: Vec<String>§exact_case: boolTrait Implementations§
Source§impl Clone for PlatformDownloadOptions
impl Clone for PlatformDownloadOptions
Source§fn clone(&self) -> PlatformDownloadOptions
fn clone(&self) -> PlatformDownloadOptions
Returns a copy 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 PlatformDownloadOptions
impl !RefUnwindSafe for PlatformDownloadOptions
impl Send for PlatformDownloadOptions
impl Sync for PlatformDownloadOptions
impl Unpin for PlatformDownloadOptions
impl !UnwindSafe for PlatformDownloadOptions
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