pub enum HuntMode {
Fingerprint,
Token(String),
WidgetUrl(String),
}Expand description
What the HUNT solver should do. data and widgetUrl are mutually exclusive.
Variants§
Fingerprint
Only generate a fingerprint (just apiGetLib is sent).
Token(String)
Solve the captcha via the meta.token value received from the website (data).
WidgetUrl(String)
Solve the captcha via the full URL of the HUNT widget, including domain, path and query
(widgetUrl), e.g. https://captcha.example.com/widget?hash=<widget-hash>.
Trait Implementations§
impl Eq for HuntMode
impl StructuralPartialEq for HuntMode
Auto Trait Implementations§
impl Freeze for HuntMode
impl RefUnwindSafe for HuntMode
impl Send for HuntMode
impl Sync for HuntMode
impl Unpin for HuntMode
impl UnsafeUnpin for HuntMode
impl UnwindSafe for HuntMode
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