pub struct GetSessionTokenResponse {
pub credentials: Option<Credentials>,
}Expand description
Contains the response to a successful GetSessionToken request, including temporary AWS credentials that can be used to make AWS requests.
Fields§
§credentials: Option<Credentials>The temporary security credentials, which include an access key ID, a secret access key, and a security (or session) token.
The size of the security token that STS API operations return is not fixed. We strongly recommend that you make no assumptions about the maximum size.
Trait Implementations§
Source§impl Clone for GetSessionTokenResponse
impl Clone for GetSessionTokenResponse
Source§fn clone(&self) -> GetSessionTokenResponse
fn clone(&self) -> GetSessionTokenResponse
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 GetSessionTokenResponse
impl Debug for GetSessionTokenResponse
Source§impl Default for GetSessionTokenResponse
impl Default for GetSessionTokenResponse
Source§fn default() -> GetSessionTokenResponse
fn default() -> GetSessionTokenResponse
Returns the “default value” for a type. Read more
Source§impl PartialEq for GetSessionTokenResponse
impl PartialEq for GetSessionTokenResponse
impl StructuralPartialEq for GetSessionTokenResponse
Auto Trait Implementations§
impl Freeze for GetSessionTokenResponse
impl RefUnwindSafe for GetSessionTokenResponse
impl Send for GetSessionTokenResponse
impl Sync for GetSessionTokenResponse
impl Unpin for GetSessionTokenResponse
impl UnwindSafe for GetSessionTokenResponse
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