[][src]Struct gcp_client::google::cloud::recaptchaenterprise::v1beta1::TokenProperties

pub struct TokenProperties {
    pub valid: bool,
    pub invalid_reason: i32,
    pub create_time: Option<Timestamp>,
    pub hostname: String,
    pub action: String,
}

Fields

valid: bool

Whether the provided user response token is valid.

invalid_reason: i32

Reason associated with the response when valid = false.

create_time: Option<Timestamp>

The timestamp corresponding to the generation of the token.

hostname: String

The hostname of the page on which the token was generated.

action: String

Action name provided at token generation.

Implementations

impl TokenProperties[src]

pub fn invalid_reason(&self) -> InvalidReason[src]

Returns the enum value of invalid_reason, or the default if the field is set to an invalid enum value.

pub fn set_invalid_reason(&mut self, value: InvalidReason)[src]

Sets invalid_reason to the provided enum value.

Trait Implementations

impl Clone for TokenProperties[src]

impl Debug for TokenProperties[src]

impl Default for TokenProperties[src]

impl Message for TokenProperties[src]

impl PartialEq<TokenProperties> for TokenProperties[src]

impl StructuralPartialEq for TokenProperties[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<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]