pub struct TenDiCustomTaskRequest {
pub website_url: String,
pub website_key: String,
pub metadata: Option<TenDiMetadata>,
pub proxy: Option<ProxyInfo>,
pub user_agent: Option<String>,
}Expand description
TenDI / Tencent captcha (CustomTask, class TenDI).
Fields§
§website_url: StringAddress of the main page where the captcha is solved.
website_key: StringcaptchaAppId, the aid value (e.g. "189123456"), unique per website.
metadata: Option<TenDiMetadata>§proxy: Option<ProxyInfo>§user_agent: Option<String>Browser User-Agent (current Windows UA supported by CapMonster Cloud).
Implementations§
Source§impl TenDiCustomTaskRequest
impl TenDiCustomTaskRequest
pub fn new( website_url: impl Into<String>, website_key: impl Into<String>, ) -> Self
pub fn with_metadata(self, value: TenDiMetadata) -> Self
pub fn with_proxy(self, proxy: ProxyInfo) -> Self
pub fn with_user_agent(self, value: impl Into<String>) -> Self
Trait Implementations§
Source§impl CaptchaRequest for TenDiCustomTaskRequest
impl CaptchaRequest for TenDiCustomTaskRequest
Source§fn timeouts(&self) -> GetResultTimeouts
fn timeouts(&self) -> GetResultTimeouts
Polling schedule recommended for this captcha type.
Source§impl Clone for TenDiCustomTaskRequest
impl Clone for TenDiCustomTaskRequest
Source§impl Debug for TenDiCustomTaskRequest
impl Debug for TenDiCustomTaskRequest
Auto Trait Implementations§
impl Freeze for TenDiCustomTaskRequest
impl RefUnwindSafe for TenDiCustomTaskRequest
impl Send for TenDiCustomTaskRequest
impl Sync for TenDiCustomTaskRequest
impl Unpin for TenDiCustomTaskRequest
impl UnsafeUnpin for TenDiCustomTaskRequest
impl UnwindSafe for TenDiCustomTaskRequest
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