#[non_exhaustive]pub struct AccountTakeoverActionType {
pub notify: bool,
pub event_action: AccountTakeoverEventActionType,
}
Expand description
Account takeover action type.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.notify: bool
Flag specifying whether to send a notification.
event_action: AccountTakeoverEventActionType
The action to take in response to the account takeover action. Valid values are as follows:
-
BLOCK
Choosing this action will block the request. -
MFA_IF_CONFIGURED
Present an MFA challenge if user has configured it, else allow the request. -
MFA_REQUIRED
Present an MFA challenge if user has configured it, else block the request. -
NO_ACTION
Allow the user to sign in.
Implementations§
source§impl AccountTakeoverActionType
impl AccountTakeoverActionType
sourcepub fn event_action(&self) -> &AccountTakeoverEventActionType
pub fn event_action(&self) -> &AccountTakeoverEventActionType
The action to take in response to the account takeover action. Valid values are as follows:
-
BLOCK
Choosing this action will block the request. -
MFA_IF_CONFIGURED
Present an MFA challenge if user has configured it, else allow the request. -
MFA_REQUIRED
Present an MFA challenge if user has configured it, else block the request. -
NO_ACTION
Allow the user to sign in.
source§impl AccountTakeoverActionType
impl AccountTakeoverActionType
sourcepub fn builder() -> AccountTakeoverActionTypeBuilder
pub fn builder() -> AccountTakeoverActionTypeBuilder
Creates a new builder-style object to manufacture AccountTakeoverActionType
.
Trait Implementations§
source§impl Clone for AccountTakeoverActionType
impl Clone for AccountTakeoverActionType
source§fn clone(&self) -> AccountTakeoverActionType
fn clone(&self) -> AccountTakeoverActionType
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AccountTakeoverActionType
impl Debug for AccountTakeoverActionType
source§impl PartialEq for AccountTakeoverActionType
impl PartialEq for AccountTakeoverActionType
source§fn eq(&self, other: &AccountTakeoverActionType) -> bool
fn eq(&self, other: &AccountTakeoverActionType) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AccountTakeoverActionType
Auto Trait Implementations§
impl Freeze for AccountTakeoverActionType
impl RefUnwindSafe for AccountTakeoverActionType
impl Send for AccountTakeoverActionType
impl Sync for AccountTakeoverActionType
impl Unpin for AccountTakeoverActionType
impl UnwindSafe for AccountTakeoverActionType
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more