pub struct ArchiveOptions {
pub accept_invalid_certificates: bool,
}
Expand description
Configuration options to control aspects of the archiving behaviour.
Fields§
§accept_invalid_certificates: bool
Accept invalid certificates or certificates that do not match the requested hostname. For example, performing an HTTPS request against an IP address will more than likely result in a hostname mismatch.
Corresponds to reqwest::ClientBuilder::danger_accept_invalid_certs
and reqwest::ClientBuilder::danger_accept_invalid_hostnames
.
Default: false
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ArchiveOptions
impl RefUnwindSafe for ArchiveOptions
impl Send for ArchiveOptions
impl Sync for ArchiveOptions
impl Unpin 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