pub struct CaptchaConfig {
pub charset: String,
pub noise_level: f32,
pub expires_after_secs: u64,
pub bypass: bool,
}Expand description
Explicit CAPTCHA policy input owned by the consuming application.
Fields§
§charset: StringCharacters from which challenges may be generated.
noise_level: f32Noise intensity applied to rendered challenge images.
expires_after_secs: u64Lifetime of a one-time challenge.
bypass: boolDevelopment-only bypass flag.
Trait Implementations§
Source§impl Clone for CaptchaConfig
impl Clone for CaptchaConfig
Auto Trait Implementations§
impl Freeze for CaptchaConfig
impl RefUnwindSafe for CaptchaConfig
impl Send for CaptchaConfig
impl Sync for CaptchaConfig
impl Unpin for CaptchaConfig
impl UnsafeUnpin for CaptchaConfig
impl UnwindSafe for CaptchaConfig
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