pub struct AmazonChallengeAndCaptcha {
pub challenge_script: String,
pub website_key: String,
pub context: String,
pub iv: String,
pub captcha_script: Option<String>,
}Expand description
Option 2: challenge plus captcha. The values come from window.gokuProps
(key, context, iv) on the 405 page of the protected site.
Fields§
§challenge_script: StringLink to challenge.js.
website_key: Stringwindow.gokuProps.key.
context: Stringwindow.gokuProps.context.
iv: Stringwindow.gokuProps.iv.
captcha_script: Option<String>Link to captcha.js; may be absent if only a challenge is present.
Implementations§
Trait Implementations§
Source§impl Clone for AmazonChallengeAndCaptcha
impl Clone for AmazonChallengeAndCaptcha
Source§impl Debug for AmazonChallengeAndCaptcha
impl Debug for AmazonChallengeAndCaptcha
impl Eq for AmazonChallengeAndCaptcha
Source§impl From<AmazonChallengeAndCaptcha> for AmazonWafVariant
impl From<AmazonChallengeAndCaptcha> for AmazonWafVariant
Source§fn from(v: AmazonChallengeAndCaptcha) -> Self
fn from(v: AmazonChallengeAndCaptcha) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for AmazonChallengeAndCaptcha
Auto Trait Implementations§
impl Freeze for AmazonChallengeAndCaptcha
impl RefUnwindSafe for AmazonChallengeAndCaptcha
impl Send for AmazonChallengeAndCaptcha
impl Sync for AmazonChallengeAndCaptcha
impl Unpin for AmazonChallengeAndCaptcha
impl UnsafeUnpin for AmazonChallengeAndCaptcha
impl UnwindSafe for AmazonChallengeAndCaptcha
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