Struct cargo_toml2::Http

source ·
pub struct Http {
    pub proxy: Option<String>,
    pub timeout: Option<i64>,
    pub cainfo: Option<String>,
    pub check_revoke: Option<bool>,
    pub low_speed_limit: Option<i64>,
    pub multiplexing: Option<bool>,
    pub debug: Option<bool>,
}

Fields

proxy: Option<String>timeout: Option<i64>cainfo: Option<String>check_revoke: Option<bool>low_speed_limit: Option<i64>multiplexing: Option<bool>debug: Option<bool>

Trait Implementations

Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
Deserialize this value from the given Serde deserializer. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.