pub struct CaptchaConfig {
pub provider: CaptchaProvider,
pub endpoints: Vec<String>,
}Fields§
§provider: CaptchaProvider§endpoints: Vec<String>An empty list protects the default signup, sign-in and password reset paths.
Patterns containing * support segment wildcards and ** for descendants.
Implementations§
Source§impl CaptchaConfig
impl CaptchaConfig
pub fn new(provider: CaptchaProvider) -> Self
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for CaptchaConfig
impl !UnwindSafe for CaptchaConfig
impl Freeze for CaptchaConfig
impl Send for CaptchaConfig
impl Sync for CaptchaConfig
impl Unpin for CaptchaConfig
impl UnsafeUnpin for CaptchaConfig
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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