struct ImdsCredentials {
access_key_id: String,
secret_access_key: String,
token: Option<String>,
expiration: Option<String>,
}Expand description
What
GET /latest/meta-data/iam/security-credentials/<role> answers with.
Code, LastUpdated and Type are in the response and are not read.
Fields§
§access_key_id: String§secret_access_key: String§token: Option<String>§expiration: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for ImdsCredentials
impl<'de> Deserialize<'de> for ImdsCredentials
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
Auto Trait Implementations§
impl Freeze for ImdsCredentials
impl RefUnwindSafe for ImdsCredentials
impl Send for ImdsCredentials
impl Sync for ImdsCredentials
impl Unpin for ImdsCredentials
impl UnsafeUnpin for ImdsCredentials
impl UnwindSafe for ImdsCredentials
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