pub struct Context {
pub access_token: Option<String>,
pub action: Option<MultiFactorAction>,
pub application: Option<Box<Application>>,
pub authentication_threats: Option<Vec<Value>>,
pub event_info: Option<Box<EventInfo>>,
pub mfa_trust: Option<Box<Trust>>,
pub policies: Option<Box<Policies>>,
}Expand description
Context : Represents the inbound lambda parameter ‘context’ for MFA Required lambdas.
Fields§
§access_token: Option<String>§action: Option<MultiFactorAction>§application: Option<Box<Application>>§authentication_threats: Option<Vec<Value>>§event_info: Option<Box<EventInfo>>§mfa_trust: Option<Box<Trust>>§policies: Option<Box<Policies>>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Context
impl<'de> Deserialize<'de> for Context
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Context
Auto Trait Implementations§
impl Freeze for Context
impl RefUnwindSafe for Context
impl Send for Context
impl Sync for Context
impl Unpin for Context
impl UnwindSafe for Context
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