[−]Struct rocket_recaptcha_v3::ReCaptchaKey
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>
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
fn clone(&self) -> ReCaptchaKey
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl PartialEq<ReCaptchaKey> for ReCaptchaKey
fn eq(&self, other: &ReCaptchaKey) -> bool
fn ne(&self, other: &ReCaptchaKey) -> bool
impl Hash for ReCaptchaKey
fn hash<__H: Hasher>(&self, state: &mut __H)
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Deref for ReCaptchaKey
impl Debug for ReCaptchaKey
impl Display for ReCaptchaKey
impl Validated for ReCaptchaKey
impl ValidatedWrapper for ReCaptchaKey
type Error = ValidatedCustomizedStringError
fn from_string(input: String) -> Result<Self, Self::Error>
fn from_str(input: &str) -> Result<Self, Self::Error>
impl<'a> FromParam<'a> for ReCaptchaKey
type Error = ValidatedCustomizedStringError
The associated error to be returned if parsing/validation fails.
fn from_param(param: &'a RawStr) -> Result<Self, Self::Error>
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
fn from_form_value(form_value: &'a RawStr) -> Result<Self, Self::Error>
fn default() -> Option<Self>
[src]
Auto Trait Implementations
impl Send for ReCaptchaKey
impl Unpin for ReCaptchaKey
impl Sync for ReCaptchaKey
impl UnwindSafe for ReCaptchaKey
impl RefUnwindSafe for ReCaptchaKey
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Typeable for T where
T: Any,
T: Any,
impl<T> IntoCollection<T> for T
fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
A: Array<Item = T>,
fn mapped<U, F, A>(self, f: F) -> SmallVec<A> where
A: Array<Item = U>,
F: FnMut(T) -> U,
A: Array<Item = U>,
F: FnMut(T) -> U,
impl<T, I> AsResult<T, I> for T where
I: Input,
I: Input,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,