pub struct Credentials<'a> {
pub access_key: &'a str,
pub secret_key: &'a str,
pub session_token: Option<&'a str>,
pub expiration: Option<OffsetDateTime>,
}Fields§
§access_key: &'a str§secret_key: &'a str§session_token: Option<&'a str>§expiration: Option<OffsetDateTime>Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Credentials<'a>
impl<'a> RefUnwindSafe for Credentials<'a>
impl<'a> Send for Credentials<'a>
impl<'a> Sync for Credentials<'a>
impl<'a> Unpin for Credentials<'a>
impl<'a> UnsafeUnpin for Credentials<'a>
impl<'a> UnwindSafe for Credentials<'a>
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