pub struct Credential {
pub access_key_id: String,
pub access_key_secret: String,
pub security_token: Option<String>,
pub expires_in: Option<Timestamp>,
}Expand description
Credential that holds the access_key and secret_key.
Fields§
§access_key_id: StringAccess key id for aliyun services.
access_key_secret: StringAccess key secret for aliyun services.
security_token: Option<String>Security token for aliyun services.
expires_in: Option<Timestamp>Expiration time for this credential.
Trait Implementations§
Source§impl Clone for Credential
impl Clone for Credential
Source§fn clone(&self) -> Credential
fn clone(&self) -> Credential
Returns a duplicate 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 Debug for Credential
impl Debug for Credential
Source§impl Default for Credential
impl Default for Credential
Source§fn default() -> Credential
fn default() -> Credential
Returns the “default value” for a type. Read more
Source§impl SigningCredential for Credential
impl SigningCredential for Credential
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