pub struct ProxyEndpoint {
pub host: String,
pub port: String,
}
Fields§
§host: String
Proxy server host (e.g. 192.168.0.100, localhost, example.com, etc.)
port: String
Proxy server port (e.g. 1080, 3128, etc.)
Trait Implementations§
Source§impl Clone for ProxyEndpoint
impl Clone for ProxyEndpoint
Source§fn clone(&self) -> ProxyEndpoint
fn clone(&self) -> ProxyEndpoint
Returns a copy 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 ProxyEndpoint
impl RefUnwindSafe for ProxyEndpoint
impl Send for ProxyEndpoint
impl Sync for ProxyEndpoint
impl Unpin for ProxyEndpoint
impl UnwindSafe for ProxyEndpoint
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