pub struct ProxyInfo {
pub proxy_type: ProxyType,
pub proxy_address: String,
pub proxy_port: u16,
pub proxy_login: Option<String>,
pub proxy_password: Option<String>,
}Expand description
Proxy used by CapMonster workers to reach the captcha page.
It is flattened into the task JSON as proxyType, proxyAddress, proxyPort,
proxyLogin, proxyPassword.
Fields§
§proxy_type: ProxyType§proxy_address: StringIPv4/IPv6 address or hostname.
proxy_port: u16§proxy_login: Option<String>§proxy_password: Option<String>Implementations§
Trait Implementations§
impl Eq for ProxyInfo
impl StructuralPartialEq for ProxyInfo
Auto Trait Implementations§
impl Freeze for ProxyInfo
impl RefUnwindSafe for ProxyInfo
impl Send for ProxyInfo
impl Sync for ProxyInfo
impl Unpin for ProxyInfo
impl UnsafeUnpin for ProxyInfo
impl UnwindSafe for ProxyInfo
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