pub struct CaptchaFormFinder {
pub token_name: String,
pub answer_name: String,
}Expand description
Find the captcha token and answer from the form
Fields§
§token_name: StringThe form name of the captcha token
Default: “captcha_token”
answer_name: StringThe form name of the captcha answer
Default: “captcha_answer”
Implementations§
Source§impl CaptchaFormFinder
impl CaptchaFormFinder
Sourcepub fn token_name(self, token_name: String) -> Self
pub fn token_name(self, token_name: String) -> Self
Set the token form name
Sourcepub fn answer_name(self, answer_name: String) -> Self
pub fn answer_name(self, answer_name: String) -> Self
Set the answer form name
Trait Implementations§
Source§impl CaptchaFinder for CaptchaFormFinder
impl CaptchaFinder for CaptchaFormFinder
Source§impl Debug for CaptchaFormFinder
impl Debug for CaptchaFormFinder
Auto Trait Implementations§
impl Freeze for CaptchaFormFinder
impl RefUnwindSafe for CaptchaFormFinder
impl Send for CaptchaFormFinder
impl Sync for CaptchaFormFinder
impl Unpin for CaptchaFormFinder
impl UnwindSafe for CaptchaFormFinder
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more