pub struct RoleCredentials {
pub access_key_id: Option<String>,
pub expiration: Option<i64>,
pub secret_access_key: Option<String>,
pub session_token: Option<String>,
}Expand description
Provides information about the role credentials that are assigned to the user.
Fields§
§access_key_id: Option<String>The identifier used for the temporary security credentials. For more information, see Using Temporary Security Credentials to Request Access to AWS Resources in the AWS IAM User Guide.
expiration: Option<i64>The date on which temporary security credentials expire.
secret_access_key: Option<String>The key that is used to sign the request. For more information, see Using Temporary Security Credentials to Request Access to AWS Resources in the AWS IAM User Guide.
session_token: Option<String>The token used for temporary credentials. For more information, see Using Temporary Security Credentials to Request Access to AWS Resources in the AWS IAM User Guide.
Trait Implementations§
Source§impl Clone for RoleCredentials
impl Clone for RoleCredentials
Source§fn clone(&self) -> RoleCredentials
fn clone(&self) -> RoleCredentials
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 RoleCredentials
impl Debug for RoleCredentials
Source§impl Default for RoleCredentials
impl Default for RoleCredentials
Source§fn default() -> RoleCredentials
fn default() -> RoleCredentials
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RoleCredentials
impl<'de> Deserialize<'de> for RoleCredentials
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
Source§impl PartialEq for RoleCredentials
impl PartialEq for RoleCredentials
impl StructuralPartialEq for RoleCredentials
Auto Trait Implementations§
impl Freeze for RoleCredentials
impl RefUnwindSafe for RoleCredentials
impl Send for RoleCredentials
impl Sync for RoleCredentials
impl Unpin for RoleCredentials
impl UnwindSafe for RoleCredentials
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