pub struct ExternalProxyConfig {
pub address: String,
pub auth: Option<ExternalProxyAuth>,
pub bypass_hosts: Vec<String>,
}Expand description
Configuration for an external (enterprise) proxy.
Fields§
§address: StringProxy address (e.g., “squid.corp.internal:3128”)
auth: Option<ExternalProxyAuth>Optional authentication for the external proxy.
bypass_hosts: Vec<String>Hosts to bypass the external proxy and route directly.
Supports exact hostnames and *. wildcard suffixes (case-insensitive).
Empty = all traffic goes through the external proxy.
Trait Implementations§
Source§impl Clone for ExternalProxyConfig
impl Clone for ExternalProxyConfig
Source§fn clone(&self) -> ExternalProxyConfig
fn clone(&self) -> ExternalProxyConfig
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 ExternalProxyConfig
impl Debug for ExternalProxyConfig
Source§impl<'de> Deserialize<'de> for ExternalProxyConfig
impl<'de> Deserialize<'de> for ExternalProxyConfig
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
Auto Trait Implementations§
impl Freeze for ExternalProxyConfig
impl RefUnwindSafe for ExternalProxyConfig
impl Send for ExternalProxyConfig
impl Sync for ExternalProxyConfig
impl Unpin for ExternalProxyConfig
impl UnsafeUnpin for ExternalProxyConfig
impl UnwindSafe for ExternalProxyConfig
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