Struct reqsign::TencentCosCredential
source · pub struct TencentCosCredential {
pub secret_id: String,
pub secret_key: String,
pub security_token: Option<String>,
pub expires_in: Option<DateTime<Utc>>,
}
Expand description
Credential for cos.
Fields§
§secret_id: String
Secret ID
secret_key: String
Secret Key
security_token: Option<String>
security_token
expires_in: Option<DateTime<Utc>>
expires in for credential.
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 more