Struct reqsign::AwsCredential
source · pub struct AwsCredential {
pub access_key_id: String,
pub secret_access_key: String,
pub session_token: Option<String>,
pub expires_in: Option<DateTime<Utc>>,
}
Expand description
Credential that holds the access_key and secret_key.
Fields§
§access_key_id: String
Access key id for aws services.
secret_access_key: String
Secret access key for aws services.
session_token: Option<String>
Session token for aws services.
expires_in: Option<DateTime<Utc>>
Expiration time for this credential.
Implementations§
Trait Implementations§
source§impl Clone for Credential
impl Clone for Credential
source§fn clone(&self) -> Credential
fn clone(&self) -> Credential
Returns a copy 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 Default for Credential
impl Default for Credential
source§fn default() -> Credential
fn default() -> Credential
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for Credential
impl RefUnwindSafe for Credential
impl Send for Credential
impl Sync for Credential
impl Unpin for Credential
impl UnwindSafe for Credential
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