Struct krecik::checks::page::PageOptions[][src]

pub struct PageOptions {
    pub headers: Option<Vec<String>>,
    pub post_data: Option<Vec<String>>,
    pub cookies: Option<Vec<String>>,
    pub follow_redirects: Option<bool>,
    pub method: Option<Method>,
    pub agent: Option<String>,
    pub timeout: Option<u64>,
    pub connection_timeout: Option<u64>,
    pub verbose: Option<bool>,
    pub ssl_verify_peer: Option<bool>,
    pub ssl_verify_host: Option<bool>,
}

Page options - passed to Curl

Fields

headers: Option<Vec<String>>

HTTP headers

post_data: Option<Vec<String>>

HTTP POST data (body)

cookies: Option<Vec<String>>

HTTP cookies

follow_redirects: Option<bool>

HTTP follow 301/302 redirects

method: Option<Method>

HTTP method used

agent: Option<String>

HTTP agent name

timeout: Option<u64>

HTTP check timeout in seconds

connection_timeout: Option<u64>

HTTP connection timeout in seconds

verbose: Option<bool>

HTTP connection timeout in seconds

ssl_verify_peer: Option<bool>

TLS peer verification

ssl_verify_host: Option<bool>

TLS host verification

Trait Implementations

impl Clone for PageOptions[src]

impl Debug for PageOptions[src]

impl Default for PageOptions[src]

impl<'de> Deserialize<'de> for PageOptions[src]

impl Serialize for PageOptions[src]

impl ToString for PageOptions[src]

Implement JSON serialization on .to_string():

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.

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

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

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,