Struct gapi_grpc::google::cloud::recaptchaenterprise::v1beta1::TokenProperties [−][src]
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
impl RefUnwindSafe for TokenProperties
impl Send for TokenProperties
impl Sync for TokenProperties
impl Unpin for TokenProperties
impl UnwindSafe for TokenProperties
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T> Instrument for T
[src][+]
impl<T> Instrument for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> IntoRequest<T> for T
[src][+]
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src][+]
V: MultiLane<T>,