Struct web_archive::ArchiveOptions[][src]

pub struct ArchiveOptions {
    pub accept_invalid_certificates: bool,
}

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

impl Default for ArchiveOptions[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.