Struct aws_mfa::auth::Credentials
source · pub struct Credentials { /* private fields */ }Expand description
Credentials received after authenticating to AWS with MFA via authenticate.
Implementations§
source§impl Credentials
impl Credentials
pub fn new( access_key_id: &str, secret_access_key: &str, session_token: &str ) -> Self
pub fn access_key_id(&self) -> &str
pub fn secret_access_key(&self) -> &str
pub fn session_token(&self) -> &str
Auto Trait Implementations§
impl RefUnwindSafe for Credentials
impl Send for Credentials
impl Sync for Credentials
impl Unpin for Credentials
impl UnwindSafe for Credentials
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