pub struct ProxyEntry {
pub proxy_type: ProxyType,
pub addr: IpAddr,
pub port: u16,
pub username: Option<String>,
pub password: Option<String>,
}Expand description
A single proxy in the chain.
Fields§
§proxy_type: ProxyType§addr: IpAddr§port: u16§username: Option<String>§password: Option<String>Trait Implementations§
Source§impl Clone for ProxyEntry
impl Clone for ProxyEntry
Source§fn clone(&self) -> ProxyEntry
fn clone(&self) -> ProxyEntry
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 moreAuto Trait Implementations§
impl Freeze for ProxyEntry
impl RefUnwindSafe for ProxyEntry
impl Send for ProxyEntry
impl Sync for ProxyEntry
impl Unpin for ProxyEntry
impl UnsafeUnpin for ProxyEntry
impl UnwindSafe for ProxyEntry
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