pub struct SigV4AuthenticatorResponse { /* private fields */ }
Expand description
Upon successful authentication of a signature, this is returned to convey the principal, session data, and possibly policies associated with the request.
SigV4AuthenticatorResponse structs are immutable. Use SigV4AuthenticatorResponseBuilder to construct a new response.
Implementations§
Source§impl SigV4AuthenticatorResponse
impl SigV4AuthenticatorResponse
Sourcepub fn builder() -> SigV4AuthenticatorResponseBuilder
pub fn builder() -> SigV4AuthenticatorResponseBuilder
Create a SigV4AuthenticatorResponseBuilder to construct a SigV4AuthenticatorResponse.
Sourcepub fn session_data(&self) -> &SessionData
pub fn session_data(&self) -> &SessionData
Retrieve the session data associated with the principal.
Trait Implementations§
Source§impl Clone for SigV4AuthenticatorResponse
impl Clone for SigV4AuthenticatorResponse
Source§fn clone(&self) -> SigV4AuthenticatorResponse
fn clone(&self) -> SigV4AuthenticatorResponse
Returns a duplicate 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 SigV4AuthenticatorResponse
impl Debug for SigV4AuthenticatorResponse
Source§impl From<GetSigningKeyResponse> for SigV4AuthenticatorResponse
impl From<GetSigningKeyResponse> for SigV4AuthenticatorResponse
Source§fn from(request: GetSigningKeyResponse) -> Self
fn from(request: GetSigningKeyResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SigV4AuthenticatorResponse
impl RefUnwindSafe for SigV4AuthenticatorResponse
impl Send for SigV4AuthenticatorResponse
impl Sync for SigV4AuthenticatorResponse
impl Unpin for SigV4AuthenticatorResponse
impl UnwindSafe for SigV4AuthenticatorResponse
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