pub struct ProxyTypeHttp {
pub username: String,
pub password: String,
pub http_only: bool,
}
Expand description
A HTTP transparent proxy server
Fields§
§username: String
Username for logging in; may be empty
password: String
Password for logging in; may be empty
http_only: bool
Pass true if the proxy supports only HTTP requests and doesn’t support transparent TCP connections via HTTP CONNECT method
Trait Implementations§
Source§impl Clone for ProxyTypeHttp
impl Clone for ProxyTypeHttp
Source§fn clone(&self) -> ProxyTypeHttp
fn clone(&self) -> ProxyTypeHttp
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 ProxyTypeHttp
impl Debug for ProxyTypeHttp
Source§impl Default for ProxyTypeHttp
impl Default for ProxyTypeHttp
Source§fn default() -> ProxyTypeHttp
fn default() -> ProxyTypeHttp
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProxyTypeHttp
impl<'de> Deserialize<'de> for ProxyTypeHttp
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 ProxyTypeHttp
impl PartialEq for ProxyTypeHttp
Source§impl Serialize for ProxyTypeHttp
impl Serialize for ProxyTypeHttp
impl StructuralPartialEq for ProxyTypeHttp
Auto Trait Implementations§
impl Freeze for ProxyTypeHttp
impl RefUnwindSafe for ProxyTypeHttp
impl Send for ProxyTypeHttp
impl Sync for ProxyTypeHttp
impl Unpin for ProxyTypeHttp
impl UnwindSafe for ProxyTypeHttp
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