Enum google_api_proto::google::cloud::recaptchaenterprise::v1::web_key_settings::IntegrationType
source · #[repr(i32)]pub enum IntegrationType {
Unspecified = 0,
Score = 1,
Checkbox = 2,
Invisible = 3,
}
Expand description
Enum that represents the integration types for web keys.
Variants§
Unspecified = 0
Default type that indicates this enum hasn’t been specified. This is not a valid IntegrationType, one of the other types must be specified instead.
Score = 1
Only used to produce scores. It doesn’t display the “I’m not a robot” checkbox and never shows captcha challenges.
Checkbox = 2
Displays the “I’m not a robot” checkbox and may show captcha challenges after it is checked.
Invisible = 3
Doesn’t display the “I’m not a robot” checkbox, but may show captcha challenges after risk analysis.
Implementations§
source§impl IntegrationType
impl IntegrationType
sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
source§impl Clone for IntegrationType
impl Clone for IntegrationType
source§fn clone(&self) -> IntegrationType
fn clone(&self) -> IntegrationType
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for IntegrationType
impl Debug for IntegrationType
source§impl Default for IntegrationType
impl Default for IntegrationType
source§fn default() -> IntegrationType
fn default() -> IntegrationType
source§impl From<IntegrationType> for i32
impl From<IntegrationType> for i32
source§fn from(value: IntegrationType) -> i32
fn from(value: IntegrationType) -> i32
source§impl Hash for IntegrationType
impl Hash for IntegrationType
source§impl Ord for IntegrationType
impl Ord for IntegrationType
source§fn cmp(&self, other: &IntegrationType) -> Ordering
fn cmp(&self, other: &IntegrationType) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for IntegrationType
impl PartialEq for IntegrationType
source§fn eq(&self, other: &IntegrationType) -> bool
fn eq(&self, other: &IntegrationType) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for IntegrationType
impl PartialOrd for IntegrationType
source§fn partial_cmp(&self, other: &IntegrationType) -> Option<Ordering>
fn partial_cmp(&self, other: &IntegrationType) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moresource§impl TryFrom<i32> for IntegrationType
impl TryFrom<i32> for IntegrationType
§type Error = DecodeError
type Error = DecodeError
source§fn try_from(value: i32) -> Result<IntegrationType, DecodeError>
fn try_from(value: i32) -> Result<IntegrationType, DecodeError>
impl Copy for IntegrationType
impl Eq for IntegrationType
impl StructuralPartialEq for IntegrationType
Auto Trait Implementations§
impl Freeze for IntegrationType
impl RefUnwindSafe for IntegrationType
impl Send for IntegrationType
impl Sync for IntegrationType
impl Unpin for IntegrationType
impl UnwindSafe for IntegrationType
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request