pub struct DownloaderConfig {
pub request_timeout: Duration,
pub user_agent: Option<String>,
pub middlewares: Vec<Box<dyn Middleware>>,
}Fields§
§request_timeout: Duration§user_agent: Option<String>§middlewares: Vec<Box<dyn Middleware>>Trait Implementations§
Auto Trait Implementations§
impl Freeze for DownloaderConfig
impl !RefUnwindSafe for DownloaderConfig
impl Send for DownloaderConfig
impl Sync for DownloaderConfig
impl Unpin for DownloaderConfig
impl !UnwindSafe for DownloaderConfig
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