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
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)