Struct aws_sdk_macie2::model::SessionContext
source · [−]#[non_exhaustive]pub struct SessionContext {
pub attributes: Option<SessionContextAttributes>,
pub session_issuer: Option<SessionIssuer>,
}
Expand description
Provides information about a session that was created for an entity that performed an action by using temporary security credentials.
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.attributes: Option<SessionContextAttributes>
The date and time when the credentials were issued, and whether the credentials were authenticated with a multi-factor authentication (MFA) device.
session_issuer: Option<SessionIssuer>
The source and type of credentials that were issued to the entity.
Implementations
sourceimpl SessionContext
impl SessionContext
sourcepub fn attributes(&self) -> Option<&SessionContextAttributes>
pub fn attributes(&self) -> Option<&SessionContextAttributes>
The date and time when the credentials were issued, and whether the credentials were authenticated with a multi-factor authentication (MFA) device.
sourcepub fn session_issuer(&self) -> Option<&SessionIssuer>
pub fn session_issuer(&self) -> Option<&SessionIssuer>
The source and type of credentials that were issued to the entity.
sourceimpl SessionContext
impl SessionContext
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture SessionContext
Trait Implementations
sourceimpl Clone for SessionContext
impl Clone for SessionContext
sourcefn clone(&self) -> SessionContext
fn clone(&self) -> SessionContext
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SessionContext
impl Debug for SessionContext
sourceimpl PartialEq<SessionContext> for SessionContext
impl PartialEq<SessionContext> for SessionContext
sourcefn eq(&self, other: &SessionContext) -> bool
fn eq(&self, other: &SessionContext) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SessionContext) -> bool
fn ne(&self, other: &SessionContext) -> bool
This method tests for !=
.
impl StructuralPartialEq for SessionContext
Auto Trait Implementations
impl RefUnwindSafe for SessionContext
impl Send for SessionContext
impl Sync for SessionContext
impl Unpin for SessionContext
impl UnwindSafe for SessionContext
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more