pub struct FunCaptchaTask {
pub website_url: String,
pub website_key: String,
pub data: Option<String>,
pub api_js_subdomain: Option<String>,
pub proxy: Option<String>,
pub cn: bool,
pub extra: ExtraFields,
}Expand description
FunCaptcha token task.
Fields§
§website_url: StringURL of the page containing the challenge.
website_key: StringFunCaptcha public key.
data: Option<String>Optional Arkose Labs blob data.
api_js_subdomain: Option<String>Optional Arkose Labs API subdomain.
proxy: Option<String>Optional worker proxy.
FunCaptcha is the only task type using the FUN proxy format —
protocol://host:port:username:password, with the credentials appended
rather than placed before the host. Every other type takes
protocol://username:password@host:port.
Either way the service requires both a username and a password: an unauthenticated proxy is rejected.
cn: boolWhether the supplied proxy is in mainland China.
extra: ExtraFieldsAdditional worker parameters.
Implementations§
Source§impl FunCaptchaTask
impl FunCaptchaTask
pub fn serialize<__S>(
__self: &FunCaptchaTask,
__serializer: __S,
) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
Source§impl FunCaptchaTask
impl FunCaptchaTask
Sourcepub fn builder() -> FunCaptchaTaskBuilder
pub fn builder() -> FunCaptchaTaskBuilder
Create an instance of FunCaptchaTask using the builder syntax
Trait Implementations§
Source§impl Clone for FunCaptchaTask
impl Clone for FunCaptchaTask
Source§impl Debug for FunCaptchaTask
impl Debug for FunCaptchaTask
Source§impl Default for FunCaptchaTask
impl Default for FunCaptchaTask
Auto Trait Implementations§
impl Freeze for FunCaptchaTask
impl RefUnwindSafe for FunCaptchaTask
impl Send for FunCaptchaTask
impl Sync for FunCaptchaTask
impl Unpin for FunCaptchaTask
impl UnsafeUnpin for FunCaptchaTask
impl UnwindSafe for FunCaptchaTask
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