pub enum CaptchaName {
Normal,
SlightlyTwisted,
VeryTwisted,
}Available on crate feature
simple-generator only.Expand description
Supported captcha names
See README.md for more information.
Variants§
Normal
Plain text, without any distortion
SlightlyTwisted
Slightly twisted text
VeryTwisted
Very twisted text
Trait Implementations§
Source§impl Clone for CaptchaName
impl Clone for CaptchaName
Source§fn clone(&self) -> CaptchaName
fn clone(&self) -> CaptchaName
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CaptchaName
impl Debug for CaptchaName
Source§impl From<CaptchaName> for CaptchaName
impl From<CaptchaName> for CaptchaName
Source§fn from(value: CaptchaName) -> Self
fn from(value: CaptchaName) -> Self
Function to convert the CaptchaName to the captcha::CaptchaName
impl Copy for CaptchaName
Auto Trait Implementations§
impl Freeze for CaptchaName
impl RefUnwindSafe for CaptchaName
impl Send for CaptchaName
impl Sync for CaptchaName
impl Unpin for CaptchaName
impl UnwindSafe for CaptchaName
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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