#[non_exhaustive]pub enum CaptchaProvider {
Turnstile,
Hcaptcha,
Unknown(String),
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Turnstile
turnstile
Hcaptcha
hcaptcha
Unknown(String)
A value this version of the client does not know, kept as received.
Implementations§
Trait Implementations§
Source§impl Clone for CaptchaProvider
impl Clone for CaptchaProvider
Source§impl Debug for CaptchaProvider
impl Debug for CaptchaProvider
Source§impl<'de> Deserialize<'de> for CaptchaProvider
impl<'de> Deserialize<'de> for CaptchaProvider
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for CaptchaProvider
impl Display for CaptchaProvider
impl Eq for CaptchaProvider
Source§impl PartialEq for CaptchaProvider
impl PartialEq for CaptchaProvider
Source§impl Serialize for CaptchaProvider
impl Serialize for CaptchaProvider
impl StructuralPartialEq for CaptchaProvider
Auto Trait Implementations§
impl Freeze for CaptchaProvider
impl RefUnwindSafe for CaptchaProvider
impl Send for CaptchaProvider
impl Sync for CaptchaProvider
impl Unpin for CaptchaProvider
impl UnsafeUnpin for CaptchaProvider
impl UnwindSafe for CaptchaProvider
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