pub struct RecaptchaV3ProxylessRequest {
pub website_url: String,
pub website_key: String,
pub min_score: Option<f64>,
pub page_action: Option<String>,
pub is_enterprise: Option<bool>,
}Expand description
reCAPTCHA v3 (RecaptchaV3TaskProxyless). Proxies are not supported.
Fields§
§website_url: StringAddress of a webpage with Google reCAPTCHA.
website_key: StringThe reCAPTCHA v3 site key (...api.js?render=THIS_ONE).
min_score: Option<f64>Minimum score of the token, 0.1..=0.9.
page_action: Option<String>Widget action value, default verify.
is_enterprise: Option<bool>Solve as reCAPTCHA v3 Enterprise (same as RecaptchaV3EnterpriseRequest).
Implementations§
Source§impl RecaptchaV3ProxylessRequest
impl RecaptchaV3ProxylessRequest
pub fn new( website_url: impl Into<String>, website_key: impl Into<String>, ) -> Self
Sourcepub fn with_min_score(self, value: f64) -> Self
pub fn with_min_score(self, value: f64) -> Self
Minimum score, must be in 0.1..=0.9 (checked by validate()).
pub fn with_page_action(self, value: impl Into<String>) -> Self
pub fn with_is_enterprise(self, value: bool) -> Self
Trait Implementations§
Source§impl CaptchaRequest for RecaptchaV3ProxylessRequest
impl CaptchaRequest for RecaptchaV3ProxylessRequest
Source§impl Clone for RecaptchaV3ProxylessRequest
impl Clone for RecaptchaV3ProxylessRequest
Source§impl Debug for RecaptchaV3ProxylessRequest
impl Debug for RecaptchaV3ProxylessRequest
Auto Trait Implementations§
impl Freeze for RecaptchaV3ProxylessRequest
impl RefUnwindSafe for RecaptchaV3ProxylessRequest
impl Send for RecaptchaV3ProxylessRequest
impl Sync for RecaptchaV3ProxylessRequest
impl Unpin for RecaptchaV3ProxylessRequest
impl UnsafeUnpin for RecaptchaV3ProxylessRequest
impl UnwindSafe for RecaptchaV3ProxylessRequest
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