Struct reqsign::AliyunCredential
source · pub struct AliyunCredential {
pub access_key_id: String,
pub access_key_secret: String,
pub security_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 credential.
access_key_secret: String
Access key secret for credential.
security_token: Option<String>
Security token for credential.
expires_in: Option<DateTime<Utc>>
expires in for 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