[]Struct rocket_recaptcha_v3::ReCaptchaKey

pub struct ReCaptchaKey { /* fields omitted */ }

Methods

impl<'a> ReCaptchaKey

pub fn as_str(&'a self) -> &'a str

pub fn into_string(self) -> String

pub fn from_string(
    input: String
) -> Result<Self, ValidatedCustomizedStringError>

pub fn from_str(input: &str) -> Result<Self, ValidatedCustomizedStringError>

pub unsafe fn from_string_unchecked(input: String) -> Self

Trait Implementations

impl Eq for ReCaptchaKey

impl Clone for ReCaptchaKey

impl PartialEq<ReCaptchaKey> for ReCaptchaKey

impl Hash for ReCaptchaKey

impl Deref for ReCaptchaKey

type Target = str

The resulting type after dereferencing.

impl Debug for ReCaptchaKey

impl Display for ReCaptchaKey

impl Validated for ReCaptchaKey

impl ValidatedWrapper for ReCaptchaKey

type Error = ValidatedCustomizedStringError

impl<'a> FromParam<'a> for ReCaptchaKey

type Error = ValidatedCustomizedStringError

The associated error to be returned if parsing/validation fails.

impl<'a> FromFormValue<'a> for ReCaptchaKey

type Error = ValidatedCustomizedStringError

The associated error which can be returned from parsing. It is a good idea to have the return type be or contain an &'v str so that the unparseable string can be examined after a bad parse. Read more

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Typeable for T where
    T: Any

impl<T> IntoCollection<T> for T

impl<T, I> AsResult<T, I> for T where
    I: Input, 

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]