pub struct Proxy {
pub http: String,
pub https: String,
pub no_proxy: Vec<String>,
pub no_proxy_nonexact_match: bool,
pub use_proxy_for_cloud_metadata: bool,
}Expand description
Outbound HTTP proxy settings.
Fields§
§http: StringProxy URL for plain HTTP requests.
https: StringProxy URL for HTTPS requests.
no_proxy: Vec<String>Hosts that bypass the proxy.
no_proxy_nonexact_match: boolWhether no-proxy entries match by suffix rather than exact host.
use_proxy_for_cloud_metadata: boolWhether cloud-metadata requests also go through the proxy.
Trait Implementations§
impl StructuralPartialEq for Proxy
Auto Trait Implementations§
impl Freeze for Proxy
impl RefUnwindSafe for Proxy
impl Send for Proxy
impl Sync for Proxy
impl Unpin for Proxy
impl UnwindSafe for Proxy
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