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