[][src]Enum gcp_client::google::cloud::recaptchaenterprise::v1beta1::token_properties::InvalidReason

#[repr(i32)]pub enum InvalidReason {
    Unspecified,
    UnknownInvalidReason,
    Malformed,
    Expired,
    Dupe,
    SiteMismatch,
    Missing,
}

LINT.IfChange Enum that represents the types of invalid token reasons.

Variants

Unspecified

Default unspecified type.

UnknownInvalidReason

If the failure reason was not accounted for.

Malformed

The provided user verification token was malformed.

Expired

The user verification token had expired.

Dupe

The user verification had already been seen.

SiteMismatch

The user verification token did not match the provided site key. This may be a configuration error (e.g. development keys used in production) or end users trying to use verification tokens from other sites.

Missing

The user verification token was not present. It is a required input.

Implementations

impl InvalidReason[src]

pub fn is_valid(value: i32) -> bool[src]

Returns true if value is a variant of InvalidReason.

pub fn from_i32(value: i32) -> Option<InvalidReason>[src]

Converts an i32 to a InvalidReason, or None if value is not a valid variant.

Trait Implementations

impl Clone for InvalidReason[src]

impl Copy for InvalidReason[src]

impl Debug for InvalidReason[src]

impl Default for InvalidReason[src]

impl Eq for InvalidReason[src]

impl From<InvalidReason> for i32[src]

impl Hash for InvalidReason[src]

impl Ord for InvalidReason[src]

impl PartialEq<InvalidReason> for InvalidReason[src]

impl PartialOrd<InvalidReason> for InvalidReason[src]

impl StructuralEq for InvalidReason[src]

impl StructuralPartialEq for InvalidReason[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

impl<T> Instrument for T[src]

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]