pub struct RecaptchaV3Config {
pub key: String,
pub secret: String,
pub min_score: f64,
}Expand description
The credentials of reCAPTCHA v3, which adds the score threshold.
Fields§
§key: StringThe public key, rendered into the widget.
secret: StringThe secret, sent to the provider with every verification.
min_score: f64Verifications with a score below this threshold fail even if Google reports success. Range 0.0 (bot) to 1.0 (human).
Trait Implementations§
Source§impl Clone for RecaptchaV3Config
impl Clone for RecaptchaV3Config
Source§impl Debug for RecaptchaV3Config
impl Debug for RecaptchaV3Config
Source§impl Default for RecaptchaV3Config
impl Default for RecaptchaV3Config
Source§impl PartialEq for RecaptchaV3Config
impl PartialEq for RecaptchaV3Config
impl StructuralPartialEq for RecaptchaV3Config
Auto Trait Implementations§
impl Forget for RecaptchaV3Config
impl Freeze for RecaptchaV3Config
impl Move for RecaptchaV3Config
impl RefUnwindSafe for RecaptchaV3Config
impl Send for RecaptchaV3Configwhere
RawVecInner: Send,
impl Sync for RecaptchaV3Configwhere
RawVecInner: Sync,
impl Unpin for RecaptchaV3Config
impl UnsafeUnpin for RecaptchaV3Config
impl UnwindSafe for RecaptchaV3Configwhere
RawVecInner: UnwindSafe,
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