pub struct Config {
pub location: bool,
pub connect_timeout: Option<Duration>,
pub request_method: RequestMethod,
pub data: Option<String>,
pub headers: Vec<Header>,
pub insecure: bool,
pub client_cert: Option<String>,
pub client_key: Option<String>,
pub ca_cert: Option<String>,
pub url: String,
pub verbose: bool,
pub max_response_size: Option<usize>,
}
Fields§
§location: bool
§connect_timeout: Option<Duration>
§request_method: RequestMethod
§data: Option<String>
§headers: Vec<Header>
§insecure: bool
§client_cert: Option<String>
§client_key: Option<String>
§ca_cert: Option<String>
§url: String
§verbose: bool
§max_response_size: Option<usize>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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