[][src]Struct curlall::Opt

pub struct Opt {
    pub user_password: Option<String>,
    pub limit: Option<usize>,
    pub wait: Option<Duration>,
    pub headers: Vec<String>,
    pub url: String,
}

Fields

user_password: Option<String>

Basic auth

limit: Option<usize>

How many values to fetch. If not specified, all pages are fetched.

wait: Option<Duration>

How many seconds to wait between requests.

headers: Vec<String>

Add headers. Add multiple headers like this: -H "Accept: application/json" -H "Cache-Control: no-cache"

url: String

Trait Implementations

impl Debug for Opt[src]

impl Default for Opt[src]

impl StructOpt for Opt[src]

impl StructOptInternal for Opt[src]

Auto Trait Implementations

impl RefUnwindSafe for Opt

impl Send for Opt

impl Sync for Opt

impl Unpin for Opt

impl UnwindSafe for Opt

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, 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.