pub struct ProxyParams {
pub url: Url,
pub basic_auth_username: Option<String>,
pub basic_auth_password: Option<String>,
pub custom_auth_header: Option<String>,
pub exclusion_list: Vec<String>,
}Expand description
The Forward Proxy Parameters if any
Fields§
§url: UrlThe proxy url
basic_auth_username: Option<String>Set the Proxy-Authorization header username using Basic auth.
basic_auth_password: Option<String>Set the Proxy-Authorization header password using Basic auth.
custom_auth_header: Option<String>Set the Proxy-Authorization header to a specified value.
exclusion_list: Vec<String>The No Proxy exclusion list to this Proxy
Trait Implementations§
Source§impl Clone for ProxyParams
impl Clone for ProxyParams
Source§fn clone(&self) -> ProxyParams
fn clone(&self) -> ProxyParams
Returns a duplicate of the value. Read more
1.0.0 · 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 ProxyParams
impl Debug for ProxyParams
Source§impl<'de> Deserialize<'de> for ProxyParams
impl<'de> Deserialize<'de> for ProxyParams
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ProxyParams
impl PartialEq for ProxyParams
Source§impl Serialize for ProxyParams
impl Serialize for ProxyParams
impl Eq for ProxyParams
impl StructuralPartialEq for ProxyParams
Auto Trait Implementations§
impl Freeze for ProxyParams
impl RefUnwindSafe for ProxyParams
impl Send for ProxyParams
impl Sync for ProxyParams
impl Unpin for ProxyParams
impl UnwindSafe for ProxyParams
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.