pub struct ProxySettings {
pub http_proxy: Option<Uri>,
pub https_proxy: Option<Uri>,
pub no_proxy: Vec<String>,
}Expand description
Explicit proxy settings. http_proxy / https_proxy may each be None;
no_proxy is a list of domain suffixes (following the GNU NO_PROXY convention).
Fields§
§http_proxy: Option<Uri>§https_proxy: Option<Uri>§no_proxy: Vec<String>Trait Implementations§
Source§impl Clone for ProxySettings
impl Clone for ProxySettings
Source§fn clone(&self) -> ProxySettings
fn clone(&self) -> ProxySettings
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProxySettings
impl Debug for ProxySettings
Source§impl Default for ProxySettings
impl Default for ProxySettings
Source§fn default() -> ProxySettings
fn default() -> ProxySettings
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for ProxySettings
impl RefUnwindSafe for ProxySettings
impl Send for ProxySettings
impl Sync for ProxySettings
impl Unpin for ProxySettings
impl UnsafeUnpin for ProxySettings
impl UnwindSafe for ProxySettings
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