pub struct AltchaCustomTaskRequest {
pub website_url: String,
pub website_key: String,
pub metadata: AltchaMetadata,
pub proxy: Option<ProxyInfo>,
pub user_agent: Option<String>,
}Expand description
Altcha proof-of-work captcha (CustomTask, class altcha).
Fields§
§website_url: String§website_key: StringSite key; an empty string is allowed.
metadata: AltchaMetadata§proxy: Option<ProxyInfo>§user_agent: Option<String>Implementations§
Source§impl AltchaCustomTaskRequest
impl AltchaCustomTaskRequest
pub fn new( website_url: impl Into<String>, website_key: impl Into<String>, metadata: AltchaMetadata, ) -> 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 AltchaCustomTaskRequest
impl CaptchaRequest for AltchaCustomTaskRequest
Source§fn timeouts(&self) -> GetResultTimeouts
fn timeouts(&self) -> GetResultTimeouts
Polling schedule recommended for this captcha type.
Source§impl Clone for AltchaCustomTaskRequest
impl Clone for AltchaCustomTaskRequest
Source§impl Debug for AltchaCustomTaskRequest
impl Debug for AltchaCustomTaskRequest
Auto Trait Implementations§
impl Freeze for AltchaCustomTaskRequest
impl RefUnwindSafe for AltchaCustomTaskRequest
impl Send for AltchaCustomTaskRequest
impl Sync for AltchaCustomTaskRequest
impl Unpin for AltchaCustomTaskRequest
impl UnsafeUnpin for AltchaCustomTaskRequest
impl UnwindSafe for AltchaCustomTaskRequest
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