#[non_exhaustive]pub struct EventRiskType {
pub risk_decision: Option<RiskDecisionType>,
pub risk_level: Option<RiskLevelType>,
pub compromised_credentials_detected: Option<bool>,
}
Expand description
The event risk type.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.risk_decision: Option<RiskDecisionType>
The risk decision.
risk_level: Option<RiskLevelType>
The risk level.
compromised_credentials_detected: Option<bool>
Indicates whether compromised credentials were detected during an authentication event.
Implementations§
source§impl EventRiskType
impl EventRiskType
sourcepub fn risk_decision(&self) -> Option<&RiskDecisionType>
pub fn risk_decision(&self) -> Option<&RiskDecisionType>
The risk decision.
sourcepub fn risk_level(&self) -> Option<&RiskLevelType>
pub fn risk_level(&self) -> Option<&RiskLevelType>
The risk level.
sourcepub fn compromised_credentials_detected(&self) -> Option<bool>
pub fn compromised_credentials_detected(&self) -> Option<bool>
Indicates whether compromised credentials were detected during an authentication event.
source§impl EventRiskType
impl EventRiskType
sourcepub fn builder() -> EventRiskTypeBuilder
pub fn builder() -> EventRiskTypeBuilder
Creates a new builder-style object to manufacture EventRiskType
.
Trait Implementations§
source§impl Clone for EventRiskType
impl Clone for EventRiskType
source§fn clone(&self) -> EventRiskType
fn clone(&self) -> EventRiskType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for EventRiskType
impl Debug for EventRiskType
source§impl PartialEq for EventRiskType
impl PartialEq for EventRiskType
source§fn eq(&self, other: &EventRiskType) -> bool
fn eq(&self, other: &EventRiskType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EventRiskType
Auto Trait Implementations§
impl Freeze for EventRiskType
impl RefUnwindSafe for EventRiskType
impl Send for EventRiskType
impl Sync for EventRiskType
impl Unpin for EventRiskType
impl UnwindSafe for EventRiskType
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.